unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "T.V Raman" via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: eliz@gnu.org
Cc: 49742@debbugs.gnu.org, raman@google.com
Subject: bug#49742: 28.0.50; previous-single-property-change sometimes wrong?
Date: Tue, 27 Jul 2021 07:50:01 -0700	[thread overview]
Message-ID: <24832.7449.666216.789491@retriever.mtv.corp.google.com> (raw)
In-Reply-To: <3B1A26D4-0713-43F6-B39D-DA8B191397A3@gnu.org>

we're talking across one another,   point is on 'H' with face
'transient-heading. previous-single-property-change should return 1 <
(point) since the face property there is nil; instead it's returning a
value that is further back.

Eli Zaretskii writes:
 > On July 27, 2021 6:06:31 AM GMT+03:00, "T.V Raman" <raman@google.com> wrote:
 > > Eli Zaretskii <eliz@gnu.org> writes:
 > > 
 > > I believe  value returned should be point before the 'H', ie the
 > > newline
 > > where property face is nil.
 > 
 > No, because this function scans back from POSITION, and that is the position between the newline and 'H' in your case, because that's where point is.  So the function must return a position before that.

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

--

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮





  reply	other threads:[~2021-07-27 14:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-26 15:47 bug#49742: 28.0.50; previous-single-property-change sometimes wrong? T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-26 16:29 ` Eli Zaretskii
2021-07-26 17:19   ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-26 18:59     ` Eli Zaretskii
2021-07-27  2:02       ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-27  2:30         ` Eli Zaretskii
2021-07-27  3:06           ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-27  4:23             ` Eli Zaretskii
2021-07-27 14:50               ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-07-27 15:23                 ` Andreas Schwab
2021-07-27 15:40                   ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-27 15:46                     ` Lars Ingebrigtsen
2021-07-27 16:02                       ` T.V Raman via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=24832.7449.666216.789491@retriever.mtv.corp.google.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=49742@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=raman@google.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).