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

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

Re: don't understand setq-default


From: Emanuel Berg
Subject: Re: don't understand setq-default
Date: Mon, 19 Apr 2021 05:49:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jean Louis wrote:

> (put 'rcd-tabulated-marked-items 'permanent-local t)

What happens if you do it like in the my-var demo only you
use this method, so first you'd actually set the global var,
then you'd tell it to be local!

Gets soo complicated this just so you can have a bunch of
buffer instances store some metadata that is common but
individual. OK, maybe helpful sometimes, sounds like it...

  setq-local
  above put and permanent-local property
  make-local-variable

keep 'em coming...

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




reply via email to

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