From: Lele Gaifax <lele@metapensiero.it>
To: emacs-devel@gnu.org
Subject: Re: Strange problem with emacs-lisp/copyright.el
Date: Sun, 23 Apr 2017 23:00:36 +0200 [thread overview]
Message-ID: <874lxezvnv.fsf@metapensiero.it> (raw)
In-Reply-To: 87fugz5bmo.fsf@gnu.org
Johan Bockgård <bojohan@gnu.org> writes:
> Lele Gaifax <lele@metapensiero.it> writes:
>
>> It just saves and restore the point position found by `copyright-find-end': I
>> tried to understand why the `save-excursion' isn't enough, but failed.
>
> Does it work correctly if you change
>
> (switch-to-buffer (current-buffer))
> ;; Fixes some point-moving oddness (bug#2209).
> (save-excursion
> (y-or-n-p (if replace
>
> to
>
> (save-excursion
> (switch-to-buffer (current-buffer))
> (y-or-n-p (if replace
>
> ?
I will try that and report back. As said, unfortunately I was not able to
reproduce the issue in a deterministic way.
Thank you,
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it | -- Fortunato Depero, 1929.
next prev parent reply other threads:[~2017-04-23 21:00 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-11 6:53 Strange problem with emacs-lisp/copyright.el Lele Gaifax
2017-04-11 9:28 ` Alan Third
2017-04-17 17:29 ` Lele Gaifax
2017-04-21 17:49 ` Lele Gaifax
2017-04-22 13:21 ` Johan Bockgård
2017-04-23 21:00 ` Lele Gaifax [this message]
2017-05-05 9:36 ` Lele Gaifax
2017-10-31 18:14 ` Lele Gaifax
2017-11-01 2:19 ` Noam Postavsky
2017-11-05 11:36 ` Johan Bockgård
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=874lxezvnv.fsf@metapensiero.it \
--to=lele@metapensiero.it \
--cc=emacs-devel@gnu.org \
/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.