GNU bug report logs -
#68921
File and Buffer register functions.
Previous Next
Full log
Message #14 received at 68921 <at> debbugs.gnu.org (full text, mbox):
Thierry Volpiatto <thievol <at> posteo.net> writes:
> Barra Ó Catháin via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs <at> gnu.org> writes:
>
>> Hello!
>>
>> I noticed that files and buffers don't have "to-register" functions of
>> their own, rather, relying on (set-register).
>
> The reason is that when your use `point-to-register`, a position is
> recorded in the buffer, and when you kill this buffer your register
> record (a marker) is transformed in a file-query register:
>
> Example:
>
> If I do C-x r SPC in init.el, register record a register like this:
>
> (119 . #<marker at 76829 in init.el>)
>
> Then I kill init.el buffer, I have now in register-alist instead of the
> register above:
>
> (122 file-query "/path/to/init.el" 76829)
^^^
119
Sorry, for the error when copying.
--
Thierry
This bug report was last modified 1 year and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.