From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vitalie Spinu <spinuvit@gmail.com>
Cc: 14234@debbugs.gnu.org
Subject: bug#14234: 24.3; symbol-at-point fails in (very) narrowed buffers
Date: Wed, 20 Jan 2021 04:45:27 +0100 [thread overview]
Message-ID: <874kjc46g8.fsf@gnus.org> (raw)
In-Reply-To: <87li8dp8ip.fsf@gmail.com> (Vitalie Spinu's message of "Sat, 20 Apr 2013 16:43:42 +0200")
Vitalie Spinu <spinuvit@gmail.com> writes:
> If buffer is narrowed to non-symbol text, symbol-at-point returns the
> whole content whatever is that.
>
> To reproduce: Create a new buffer "test.txt" add `[[`( at the beginning
> and run (symbol-at-point). It wrongly gives the whole content. Now put
> "aa `[[`(" and place your cursor at [; symbol-at-point returns nil as
> expected.
>
> This probably has to do with the thing-at-point relying on forward-thing
> and backward-thing which, in this case, return eob and bob respectively.
Yup. This should now be fixed in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-01-20 3:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-20 14:43 bug#14234: 24.3; symbol-at-point fails in (very) narrowed buffers Vitalie Spinu
2021-01-20 3:45 ` Lars Ingebrigtsen [this message]
2021-01-20 15:49 ` Lars Ingebrigtsen
2021-01-20 15:58 ` Lars Ingebrigtsen
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=874kjc46g8.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=14234@debbugs.gnu.org \
--cc=spinuvit@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.