unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: 6941@debbugs.gnu.org
Subject: bug#6941: 24.0.50; yank doesn't return latest kill
Date: Mon, 30 Aug 2010 15:37:54 +0200	[thread overview]
Message-ID: <4C7BB432.2010004@swipnet.se> (raw)
In-Reply-To: <4C7AB779.8050709@easy-emacs.de>

2010-08-29 21:39, Andreas Röhler skrev:
>
> emacs -Q:
>
> Hi,
>
> with yank following a kill-new, Emacs doesn't yank the latest killed
> string.
>
> Checked it in a scratch buffer with following content after default:
>
> abc foo bar
> (kill-new (buffer-substring-no-properties 192 195) ==> "abc"
> (kill-new (buffer-substring-no-properties 196 199) ==> "foo"
> (kill-new (buffer-substring-no-properties 200 203) ==> "bar"
>
> After evaluating this, following yank should insert "bar".
>
> Instead it inserted some other, previously killed content.
>

If I add the missing ) to those expressions, I do get bar yanked.
Try again with proper expressions.

	Jan D.





  reply	other threads:[~2010-08-30 13:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-29 19:39 bug#6941: 24.0.50; yank doesn't return latest kill Andreas Röhler
2010-08-30 13:37 ` Jan Djärv [this message]
2010-08-30 16:09   ` Andreas Röhler
2010-08-31 16:12     ` Chong Yidong
2010-08-31 16:39       ` Andreas Röhler
2010-08-31 17:57         ` Chong Yidong
2010-09-02  7:00           ` Andreas Röhler
2010-09-02 15:17             ` Chong Yidong
2010-09-02 15:50               ` Andreas Röhler
2010-09-02 16:05               ` Andreas Röhler

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=4C7BB432.2010004@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=6941@debbugs.gnu.org \
    --cc=andreas.roehler@easy-emacs.de \
    /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).