From: Jambunathan K <kjambunathan@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 12218@debbugs.gnu.org
Subject: bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel
Date: Fri, 05 Oct 2012 22:42:51 +0530 [thread overview]
Message-ID: <874nm8alm4.fsf@gmail.com> (raw)
In-Reply-To: <506F076B.9040204@gmx.at> (martin rudalics's message of "Fri, 05 Oct 2012 18:14:35 +0200")
[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]
martin rudalics <rudalics@gmx.at> writes:
>> 1. C-x C-f <some modified file>
>> 2. M-x vc-ediff
>> 3. Press `n' in the control panel
>> 4. Note that the one of the src buffer - buffer B specifically - becomes
>> receives focus (or whatever you call it)
>> 5. Pressing another `n' and it modifies the src buffer.
>>
>> I would expect that focus never leave the ediff control panel.
>>
>> Seems like a recent regression to me.
>
> I can't reproduce that here. But maybe you should try customizing the
> variable `ediff-grab-mouse' to t.
I am debian squeeze running Emacs from trunk (bzr version is visible in
the attached screenshot). Emacs is launched like this:
~/src/emacs/trunk/src/emacs --debug-init -Q
`ediff-grab-mouse' is at it's default value of t.
I am attaching a screenshot of my desktop.
I don't know whether the diff file has any bearing on the behaviour.
The register.el on display is the one obtained by applying the
bug12389.diff.
This bug is bit of an annoyance. I am happy you are lookng in to it.
[-- Attachment #2: bug12218.png --]
[-- Type: image/png, Size: 75606 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: bug12389.diff --]
[-- Type: text/x-diff, Size: 1224 bytes --]
=== modified file 'lisp/ChangeLog'
--- lisp/ChangeLog 2012-10-03 08:50:49 +0000
+++ lisp/ChangeLog 2012-10-03 14:26:48 +0000
@@ -1,3 +1,9 @@
+2012-10-03 Jambunathan K <kjambunathan@gmail.com>
+
+ * register.el (append-to-register, prepend-to-register):
+ Deactivate mark. This accords with current behaviour of
+ `copy-to-register'. See (Bug#12389).
+
2012-10-03 Martin Rudalics <rudalics@gmx.at>
* menu-bar.el (kill-this-buffer): Don't do anything when
=== modified file 'lisp/register.el'
--- lisp/register.el 2012-09-09 08:10:56 +0000
+++ lisp/register.el 2012-10-03 13:21:46 +0000
@@ -382,6 +382,7 @@
register (cond ((not reg) text)
((stringp reg) (concat reg separator text))
(t (error "Register does not contain text")))))
+ (setq deactivate-mark t)
(cond (delete-flag
(delete-region start end))
((called-interactively-p 'interactive)
@@ -400,6 +401,7 @@
register (cond ((not reg) text)
((stringp reg) (concat text separator reg))
(t (error "Register does not contain text")))))
+ (setq deactivate-mark t)
(cond (delete-flag
(delete-region start end))
((called-interactively-p 'interactive)
[-- Attachment #4: Type: text/plain, Size: 10 bytes --]
> martin
next prev parent reply other threads:[~2012-10-05 17:12 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-17 10:22 bug#12218: 24.2.50; vc-ediff: Pressing `n' moves focus away from ediff control panel Jambunathan K
2012-10-05 16:14 ` martin rudalics
2012-10-05 17:12 ` Jambunathan K [this message]
2012-10-05 18:07 ` martin rudalics
2012-10-05 18:46 ` Jambunathan K
2012-10-05 19:07 ` martin rudalics
2012-10-05 19:42 ` Jambunathan K
2012-10-06 8:14 ` martin rudalics
2012-10-06 17:40 ` Juri Linkov
2012-10-08 6:56 ` martin rudalics
2012-10-08 11:03 ` Juri Linkov
2013-02-10 2:52 ` Glenn Morris
2013-02-10 10:46 ` Juri Linkov
2013-02-10 17:32 ` martin rudalics
2013-02-11 9:27 ` Juri Linkov
2013-02-11 9:43 ` Jambunathan K
2013-02-12 17:47 ` Juri Linkov
2013-02-13 5:34 ` Jambunathan K
2013-02-13 5:39 ` Jambunathan K
2013-02-13 8:44 ` Juri Linkov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874nm8alm4.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=12218@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).