emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Allow inhibiting 'auto-save-visited-mode' on a per-buffer ba


From: Eli Zaretskii
Subject: Re: [PATCH] Allow inhibiting 'auto-save-visited-mode' on a per-buffer basis.
Date: Wed, 08 Apr 2020 16:07:19 +0300

> From: Philipp Stephani <address@hidden>
> Date: Wed, 8 Apr 2020 14:19:44 +0200
> Cc: Stefan Monnier <address@hidden>, Philipp Stephani <address@hidden>, 
>       Emacs developers <address@hidden>
> 
> > IMO, it depends on how popular the "disable locally" feature will be.
> > If we envision that many users will want to do that for some buffers,
> > then I think we'll need either a local minor mode or at least a
> > variable where you can specify which buffers are exempt from the
> > global mode.
> 
> Hmm, that variable is exactly what I'm proposing here?

No, not IIUC.  You proposed a buffer-local variable that has to be set
for each buffer where the global mode should be effectively disabled.
I was talking about a global variable with regular expressions that
match names of buffers where the user wants the global mode to be
disabled.



reply via email to

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