unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sam Halliday <sam.halliday@gmail.com>
Cc: 35119@debbugs.gnu.org
Subject: bug#35119: 26.1; narrow-to-region loses word-start/symbol-start information at end
Date: Wed, 03 Apr 2019 14:25:42 +0300	[thread overview]
Message-ID: <83a7h7e3ex.fsf@gnu.org> (raw)
In-Reply-To: <87y34r1glv.fsf@gmail.com> (message from Sam Halliday on Wed, 03 Apr 2019 12:19:08 +0100)

> From: Sam Halliday <sam.halliday@gmail.com>
> Date: Wed, 03 Apr 2019 12:19:08 +0100
> 
> If the function `narrow-to-region' (as it is in `looking-back') is used
> to restrict the region prior to an invocation of re-search-forward or
> looking-at, then zero length regexp patterns are lost at the boundaries.

Could you please provide a recipe to reproduce the issue?  I'm not
sure I understand what is the problem you are describing.

Thanks.





  reply	other threads:[~2019-04-03 11:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-03 11:19 bug#35119: 26.1; narrow-to-region loses word-start/symbol-start information at end Sam Halliday
2019-04-03 11:25 ` Eli Zaretskii [this message]
2019-04-03 12:30   ` Sam Halliday
2019-04-03 13:01     ` Sam Halliday
2019-04-03 13:05       ` Sam Halliday
2021-09-01  9:08     ` 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

  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=83a7h7e3ex.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=35119@debbugs.gnu.org \
    --cc=sam.halliday@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 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).