GNU bug report logs - #41857
Clarify browser / emacs kill-ring interaction more

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sun, 14 Jun 2020 17:15:02 UTC

Severity: minor

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41857 in the body.
You can then email your comments to 41857 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#41857; Package emacs. (Sun, 14 Jun 2020 17:15:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 14 Jun 2020 17:15:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Clarify browser / emacs kill-ring interaction more
Date: Mon, 15 Jun 2020 01:02:56 +0800
(info "(emacs) Primary Selection") says:

       Under X, whenever the region is active (*note Mark::), the text in
    the region is saved in the primary selection.  This applies regardless
    of whether the region was made by dragging or clicking the mouse (*note
    Mouse Commands::), or by keyboard commands (e.g., by typing ‘C-<SPC>’
    and moving point; *note Setting Mark::).

This isn't clear if it is talking only about actions within emacs, or
also e.g., actions within a browser.
Also within a browser we talk about 'highlighting' and 'copying text'.

Anyway, it should also add a section:

    If you often find yourself sending people emails with
    "Grandma's new account number is: [old account number]"
    because you copied the new number from a browser while having the old
    one still in your kill ring and they looked too similar so you didn't
    realize... then you need to setq ...

And, (info "(emacs) Clipboard")'s

       Yank commands, such as ‘C-y’ (‘yank’), also use the clipboard.  If
    another application “owns” the clipboard—i.e., if you cut or copied text
    there more recently than your last kill command in Emacs—then Emacs
    yanks from the clipboard instead of the kill ring.

should mention when this does not apply.

And (info "(emacs) Primary Selection")

       To insert the primary selection into an Emacs buffer, click ‘mouse-2’
    (‘mouse-yank-primary’) where you want to insert it.  *Note Mouse
    Commands::.

should mention how to use C-y to insert it if one is not happy being
forced to use the mouse.

Anyway these sections are describing somethings that have unfortunately
grown very complex, so normal users have little hope of understanding
them fully.

emacs-version "26.3"




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#41857; Package emacs. (Wed, 05 Aug 2020 10:45:02 GMT) Full text and rfc822 format available.

Message #8 received at 41857 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 41857 <at> debbugs.gnu.org
Subject: Re: bug#41857: Clarify browser / emacs kill-ring interaction more
Date: Wed, 05 Aug 2020 12:43:54 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> (info "(emacs) Primary Selection") says:
>
>        Under X, whenever the region is active (*note Mark::), the text in
>     the region is saved in the primary selection.  This applies regardless
>     of whether the region was made by dragging or clicking the mouse (*note
>     Mouse Commands::), or by keyboard commands (e.g., by typing ‘C-<SPC>’
>     and moving point; *note Setting Mark::).
>
> This isn't clear if it is talking only about actions within emacs, or
> also e.g., actions within a browser.
> Also within a browser we talk about 'highlighting' and 'copying text'.

The Emacs manual talks about Emacs (unless otherwise noted), so I don't
think there's anything to clarify here.

> And, (info "(emacs) Clipboard")'s
>
>        Yank commands, such as ‘C-y’ (‘yank’), also use the clipboard.  If
>     another application “owns” the clipboard—i.e., if you cut or copied text
>     there more recently than your last kill command in Emacs—then Emacs
>     yanks from the clipboard instead of the kill ring.
>
> should mention when this does not apply.

I think it does apply?

> And (info "(emacs) Primary Selection")
>
>        To insert the primary selection into an Emacs buffer, click ‘mouse-2’
>     (‘mouse-yank-primary’) where you want to insert it.  *Note Mouse
>     Commands::.
>
> should mention how to use C-y to insert it if one is not happy being
> forced to use the mouse.

I've added this to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 05 Aug 2020 10:45:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 41857 <at> debbugs.gnu.org and 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 05 Aug 2020 10:45:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Sep 2020 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.