all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 35491@debbugs.gnu.org
Subject: bug#35491: Subject: 27.0.50; word-at-point, hand over optional argument
Date: Wed, 8 May 2019 08:20:09 +0200	[thread overview]
Message-ID: <32a22ac9-eeba-f41d-8b72-6b4be81c669c@easy-emacs.de> (raw)
In-Reply-To: <878svhlxez.fsf@gmail.com>


On 08.05.19 00:20, Noam Postavsky wrote:
> Andreas Röhler <andreas.roehler@easy-emacs.de> writes:
>
>> please permit ‘word-at-point’ to hand over optional arg ‘no-properties’
>>
>> ‘thing-at-point’ comes with an optional argument ‘no-properties’.
>> Seems there is no way to set it from calling ‘word-at-point’.
>>
>> With attached patch:
>>
>> (setq a (word-at-point t))foo
>>
>> a ==> "foo"
>>
>> ;; current constraint:
>> (setq b (word-at-point))foo
>>
>> b ==> #("foo" 0 2 (fontified t) 2 3 (fontified t rear-nonsticky t))
> Sure, I guess there's no reason not to.  Any problems with the patch
> below?  (I avoided looking at yours since I recall you have some
> philosophical/legal objection to signing copyright papers)
>
Looks good for me, thanks considering related cases too.







  reply	other threads:[~2019-05-08  6:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-29 15:51 bug#35491: Subject: 27.0.50; word-at-point, hand over optional argument Andreas Röhler
2019-05-07 22:20 ` Noam Postavsky
2019-05-08  6:20   ` Andreas Röhler [this message]
2019-05-16 11:25     ` Noam Postavsky

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=32a22ac9-eeba-f41d-8b72-6b4be81c669c@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=35491@debbugs.gnu.org \
    --cc=npostavs@gmail.com \
    /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.