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

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

Re: Adding major-mode selection to new buffer


From: carlmarcos
Subject: Re: Adding major-mode selection to new buffer
Date: Tue, 28 Jun 2022 02:03:29 +0200 (CEST)

Jun 27, 2022, 23:29 by incal@dataswamp.org:

> carlmarcos--- via Users list for the GNU Emacs text editor wrote:
>
>>> They are supposed to be scratch buffers that are not saved,
>>> and thus no extension exists.
>>>
>>
>> They are made as named scratch buffers, with a major-mode
>> setup. The save button is not available but one can use `C-x
>> C-w'.
>>
>
> The *scratch* buffer has major-mode `lisp-interaction-mode',
> if you want some other mode for some other buffer, name
> it accordingly.
>

Have used `test.c' but ended up in `fundamental-mode' instead of `c-mode'.


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



reply via email to

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