unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Daniel Mendler <mail@daniel-mendler.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 52098@debbugs.gnu.org
Subject: bug#52098: 28.0.50; (thing-at-point thing) returns blank string in buffer with only whitespace
Date: Mon, 29 Nov 2021 17:24:20 +0100	[thread overview]
Message-ID: <8f920bee-ce1a-8dce-66a4-76a3c25f395e@daniel-mendler.de> (raw)
In-Reply-To: <87ilwbszn8.fsf@gnus.org>

>> 1. emacs -Q
>> 2. Open new buffer "bug"
>> 3. Enter a few spaces or newlines, but buffer is otherwise empty
>> 4. M-: (thing-at-point 'word) -> Result is string with white space "   "
>>
>> The things `word`, `sexp`, `defun`, `sentence` are also affected.
> 
> Yup.  This should now be fixed in Emacs 29.

Thank you! Would it be possible to backport this to Emacs 28?






  reply	other threads:[~2021-11-29 16:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 10:27 bug#52098: 28.0.50; (thing-at-point thing) returns blank string in buffer with only whitespace Daniel Mendler
2021-11-29 16:19 ` Lars Ingebrigtsen
2021-11-29 16:24   ` Daniel Mendler [this message]
     [not found]   ` <63d54035-ef4d-0d3b-fa1a-dffe94ad9c03@daniel-mendler.de>
     [not found]     ` <878rx7szde.fsf@gnus.org>
2021-11-29 17:23       ` Daniel Mendler

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=8f920bee-ce1a-8dce-66a4-76a3c25f395e@daniel-mendler.de \
    --to=mail@daniel-mendler.de \
    --cc=52098@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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).