From: Thierry Volpiatto <thievol@posteo.net>
To: 68921@debbugs.gnu.org
Cc: barra@ocathain.ie
Subject: bug#68921: File and Buffer register functions.
Date: Sun, 04 Feb 2024 06:45:56 +0000 [thread overview]
Message-ID: <8734u8afrv.fsf@posteo.net> (raw)
In-Reply-To: <877cjkagi3.fsf@posteo.net> (Thierry Volpiatto's message of "Sun, 04 Feb 2024 06:30:12 +0000")
Thierry Volpiatto <thievol@posteo.net> writes:
> Barra Ó Catháin via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs@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
next prev parent reply other threads:[~2024-02-04 6:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-03 20:50 bug#68921: File and Buffer register functions Barra Ó Catháin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-02-04 6:30 ` Thierry Volpiatto
2024-02-04 6:45 ` Thierry Volpiatto [this message]
2024-02-04 7:15 ` Thierry Volpiatto
2024-02-04 7:00 ` Eli Zaretskii
2024-02-06 22:42 ` Barra Ó Catháin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-28 15:31 ` Barra Ó Catháin via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8734u8afrv.fsf@posteo.net \
--to=thievol@posteo.net \
--cc=68921@debbugs.gnu.org \
--cc=barra@ocathain.ie \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.