unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Eli Zaretskii'" <eliz@gnu.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: RE: use and doc of function symbol properties [was: bug#11381: 23.3; isearch-search-and-update issue?]
Date: Sat, 2 Jun 2012 09:57:45 -0700	[thread overview]
Message-ID: <74A0397A1DA546A5BC5D4B07917D69C2@us.oracle.com> (raw)
In-Reply-To: <838vg5d5k7.fsf@gnu.org>

> Thanks.  It would be nice to have all that in a doc string and/or a
> manual near me, some time soon.

+1 - that information/text or similar

> > If the kill-ring entry to be yanked has the same text as
> > the region, then first rotate the kill ring so that the
> > yank will not be a no-op.
> 
> This could use some more clarification.  E.g., does it rotate the kill
> ring until there's some entry that is different from the text in the
> region, or just once?

Just once.  But it would no doubt be better to instead rotate through the list
until we reach a non-identical entry (if there is one).

> The "so the yank will not be a no-op" part is just the rationale,
> so it should be worded as such (e.g., in parens).

Agreed.  But if improved as suggested then it would become the stop-rotating
condition: "rotate the kill ring until the first kill is different" etc.  In
that case it need not be in parens.

If there is no non-identical ring entry then punt (the yank operation becomes a
no-op).




  reply	other threads:[~2012-06-02 16:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4F9DC154.2000605@groveronline.com>
     [not found] ` <87ipgggtmw.fsf@mail.jurta.org>
     [not found]   ` <jwvbom8837m.fsf-monnier+emacs@gnu.org>
     [not found]     ` <878vhcc4nl.fsf@mail.jurta.org>
     [not found]       ` <87vcjxdt5p.fsf@mail.jurta.org>
     [not found]         ` <jwvlikszweb.fsf-monnier+emacs@gnu.org>
     [not found]           ` <87vcjvwtxa.fsf@mail.jurta.org>
     [not found]             ` <87r4ufhfmi.fsf@mail.jurta.org>
     [not found]               ` <jwvsjeuxqrs.fsf-monnier+emacs@gnu.org>
     [not found]                 ` <878vge3ri7.fsf@mail.jurta.org>
     [not found]                   ` <jwvbol9ue9d.fsf-monnier+emacs@gnu.org>
     [not found]                     ` <83pq9o1f9s.fsf@gnu.org>
2012-05-28 17:34                       ` use and doc of function symbol properties [was: bug#11381: 23.3; isearch-search-and-update issue?] Drew Adams
2012-05-28 17:53                         ` Eli Zaretskii
2012-05-28 18:26                           ` Drew Adams
2012-05-28 20:43                             ` Eli Zaretskii
2012-05-30  0:10                               ` Drew Adams
2012-06-02 16:47                                 ` Eli Zaretskii
2012-06-02 16:57                                   ` Drew Adams [this message]
2012-06-02 17:52                                     ` Drew Adams

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=74A0397A1DA546A5BC5D4B07917D69C2@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).