help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: completing-read to set the mode for a buffer


From: Emanuel Berg
Subject: Re: completing-read to set the mode for a buffer
Date: Sun, 10 Jul 2022 06:20:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

carlmarcos--- via Users list for the GNU Emacs text editor wrote:

> the buffer on which the mode is applied does not have
> a programming or markup file associated with it yet.

Yeah but that's where you start then rather than preparing
Emacs to handle "nothing" specifically.

>> (setq auto-mode-alist `(
>>  ("\\.bal\\'"     . balance-mode)
>>  ("\\.cl\\'"      . common-lisp-mode)
>>  ("\\.dat\\'"     . gnuplot-mode)
>>  ("\\.gpi\\'"     . gnuplot-mode)
>>  ("\\.grm\\'"     . sml-mode)
>>  ("\\.lu\\'"      . lua-mode)
>>  ("\\.nqp\\'"     . perl-mode)
>>  ("\\.php\\'"     . html-mode)
>>  ("\\.pic\\'"     . nroff-mode)
>>  ("\\.pl\\'"      . prolog-mode)
>>  ("\\.sed\\'"     . conf-mode)
>>  ("\\.service\\'" . conf-mode)
>>  ("\\.tap\\'"     . gcode-mode)
>>  ("\\.tex\\'"     . latex-mode)
>>  ("\\.xr\\'"      . conf-xdefaults-mode)
>>  ("keys\\'"       . conf-mode)
>>  ("*"             . text-mode)
>>  ,@auto-mode-alist) )

Wow, sweat heaven! Especially the left one how it waves and
gets deeper and everything and suddenly stops. Maybe in
combination with the music ...

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]