Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [X]Emacs file association (auto-mode)
- Date: Fri, 23 Dec 2005 10:48:18 +0900
- From: Josh Glover <jmglov@example.com>
- Subject: Re: [tlug] [X]Emacs file association (auto-mode)
- References: <d8fcc0800512201916y7602ff30i@example.com> <87vexhmo80.fsf@example.com>
On 22/12/05, Stephen J. Turnbull <stephen@example.com> wrote: > >>>>> "Josh" == Josh Glover <jmglov@example.com> writes: > > Josh> But I don't want to have to add lines like this for each of > Josh> my N file extensions. I would rather "strip" the .m4 > Josh> extension off of the end of the filename and let > Josh> auto-mode-alist have at it. > > Er, Josh, just how hard is it to type C-h v auto-mode-alist? Um... pretty hard, when I forget about Emacs's online help. Sorry. :( > Ie, if ("\\.m4$" nil 'YOW!) doesn't do want you want, I want to hear > about it. > > If it _does_ work, well, then > > MERRY CHRISTMAS! Thanks for the thought, but you failed to take into account my utter Lisp incompetence. I tried: (setq auto-mode-alist (append (list (cons "\\.m4$" nil 'YOW!)) auto-mode-alist)) (setq auto-mode-alist (append (list (cons "\\.m4$" 'YOW!)) auto-mode-alist)) (setq auto-mode-alist (append (list ("\\.m4$" nil 'YOW!)) auto-mode-alist)) (setq auto-mode-alist (append (list "\\.m4$" nil 'YOW!) auto-mode-alist)) None of this (obviously to you; I can almost hear your snickering from here! ;) worked. Are you still feeling enough of that Christmas spirit to help out your fellowman, even if he happens to be a bit of a thickie? Cheers, Josh
- Follow-Ups:
- Re: [tlug] [X]Emacs file association (auto-mode)
- From: Stephen J. Turnbull
- References:
- [tlug] [X]Emacs file association (auto-mode)
- From: Josh Glover
- Re: [tlug] [X]Emacs file association (auto-mode)
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Lightweight GUIs
- Next by Date: [tlug] Linux LiveCD that runs as a Windows screensaver
- Previous by thread: Re: [tlug] [X]Emacs file association (auto-mode)
- Next by thread: Re: [tlug] [X]Emacs file association (auto-mode)
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links