Electionline
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 4 articles for 0.000 sec
Re: How to set a file major mode in elisp     

Group: gnu.emacs.help · Group Profile · Search for Electionline in gnu.emacs.help
Author: Mirko
Date: Nov 2, 2007 09:54

...(open-line 1) (goto-char (point-max)) ... ) -- The woods aren't any drier than they were in 2000, but there are a lot more people with matches. -- Doug Chapin, Electionline.org Thank you. I don't think I will use Sebastian's suggestion, because I don't want to mess with the diary file format if I can avoid it. So, I will use the (obvious) (diary-mode...
Show full article (0.84Kb) · Show article thread
Re: How to set a file major mode in elisp     

Group: gnu.emacs.help · Group Profile · Search for Electionline in gnu.emacs.help
Author: Eric Hanchrow
Date: Nov 2, 2007 06:56

... auto-mode-alist? Sure -- (defun diary-entry () (interactive) (find-file "~/diary") (diary-mode) ;-----^^^^^^^^^^^^ (goto-char (point-max)) (open-line 1) (goto-char (point-max)) ... ) -- The woods aren't any drier than they were in 2000, but there are a lot more people with matches. -- Doug Chapin, Electionline.org
Show full article (0.56Kb) · Show article thread
Re: check whether emacs session is running under local X server     

Group: gnu.emacs.help · Group Profile · Search for Electionline in gnu.emacs.help
Author: Eric Hanchrow
Date: Sep 27, 2006 20:12

>>>>> "GM" == Glenn Morris <rgm+news@stanford.edu> writes: I just check whether the SSH_CLIENT environment variable is set or not. Wish I'd thought of that :-) -- The woods aren't any drier than they were in 2000, but there are a lot more people with matches. -- Doug Chapin, Electionline.org
Show full article (0.33Kb) · Show article thread
Re: check whether emacs session is running under local X server     

Group: gnu.emacs.help · Group Profile · Search for Electionline in gnu.emacs.help
Author: Eric Hanchrow
Date: Sep 27, 2006 20:10

...@physik.uni-erlangen.de> writes: > (or (eq (assoc-default 'window-system (frame-parameters > current-frame)) 'x) Roland> What is the value of current-frame? The return value of Roland> (selected-frame)? Oops! Yes. -- The woods aren't any drier than they were in 2000, but there are a lot more people with matches. -- Doug Chapin, Electionline.org
Show full article (0.44Kb) · Show article thread