
Search found 5 matches
- Fri Dec 18, 2009 2:10 am
- Forum: Emacs
- Topic: help delete-to-word
- Replies: 4
- Views: 12724
Re: help delete-to-word
freshman using emacs thanks guy 

- Tue Dec 15, 2009 5:22 am
- Forum: Emacs
- Topic: help delete-to-word
- Replies: 4
- Views: 12724
Re: help delete-to-word
(defun le-kill-word (arg) (interactive "p") (setq myChar (thing-at-point 'char)) (if (string-match "[ \t\r\n]" myChar) (progn (re-search-forward "[ \t\r\n]+" nil t) (replace-match "" nil nil)) (kill-region (point) (progn (forward-word arg) (point))) ) ) why ca...
- Mon Dec 14, 2009 3:56 am
- Forum: Emacs
- Topic: help delete-to-word
- Replies: 4
- Views: 12724
help delete-to-word
if current at point is [ \t\r\n] (re-search-forward "[ \t\r\n]+" nil t) otherwise (kill-word) (defun delete-to-word () (interactive) (setq myChar (thing-at-point 'char)) (if (string-match "[ \t\r\n]" myChar) (progn (re-search-forward "[ \t\r\n]+" nil t) (replace-match &...
- Sun Dec 13, 2009 6:02 pm
- Forum: Emacs
- Topic: lisp problem for start-process
- Replies: 2
- Views: 8987
Re: lisp problem for start-process
I got the solution
==wrong brace for interactive cause the problem
(interactive
(start-process ....)
)
==now without problem correct in this way
(interactive)
(start-process ....)
==wrong brace for interactive cause the problem
(interactive
(start-process ....)
)
==now without problem correct in this way

(interactive)
(start-process ....)
- Sat Dec 05, 2009 6:55 am
- Forum: Emacs
- Topic: lisp problem for start-process
- Replies: 2
- Views: 8987
lisp problem for start-process
hi, my environment ubuntu 9.10 + emacs22-nox I've try using start-process but always got Wrong type argument:... (start-process "my-process" "foo" "ls" "-l" "/bin/grep") ----message bar show Wrong type argument: sequencep, #<process my-process> ----o...