all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dima Kogan <dima@secretsauce.net>
To: 24584@debbugs.gnu.org
Subject: bug#24584: 25.1; Without fringe-mode, search highlighting on long lines breaks
Date: Sat, 01 Oct 2016 14:05:36 -0700	[thread overview]
Message-ID: <87h98vye3j.fsf@secretsauce.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

Hi.

I just found an unexpected interaction of fringe-mode and isearch. Let's
say you have the attached file (composed of random dictionary words on
two very long lines) called 'txt'. Then you

1. emacs -Q /tmp/txt
2. M-x toggle-truncate-lines
3. M-> (to go to end of buffer)
4. C-r threatened

As you type "threatened" letter by letter, you see the search jump to
the match, and the match is highlighted. This is correct. Now do

5. M-x fringe-mode no-fringes
6. M-> (to go to end of buffer)
7. C-r threatened

When you type "threatened" now, the behavior is correct through "th",
but when you hit "r", the buffer scrolls back to the beginning of the
line, and you can't see the match anymore.

I haven't done any debugging other than figuring out the exact thing
that makes it break: turning off fringe mode. If the exact cause isn't
obvious to somebody here, I'll debug it myself in a bit.




[-- Attachment #2: txt --]
[-- Type: application/octet-stream, Size: 3964 bytes --]

videodisc tines Hohenzollern retiree blotchiest practitioners bopped preside dressings pumpkin Jeffry neurotically slimness haltering newsprint pancreatic jarred memorizes sharps communicators doltish erroneous bobwhite Keaton teed Vientiane Danubian Mediterranean crankcases mediaeval magnet equally room sleepy aplenty happily playing crofts reveals scuppered juxtapose awhile snowboards shepherded gigahertz switchbacks unlatched Methodist eve reiterating bedsides captures dampens reconditioning collages checkpoints arc concretely coddling globule scrapped woodcock waylaying appraises funiculars interrelations flattening trammelling lacquer blindness claim overexposes chammy odiously warily breathiest drouths duplicate stories dragoon numerating bootleggers enactment Leann qualifier imperative trending Sumeria basses timekeeper heaters popularization undershirts orthodoxy skateboarding huckster boatswains distaste criticizing grope Mecca unsettle wends Perkins Barrera insurgencies Figueroa mannequins sear poplar lipreads ambivalently limed Kasey unasked toboggan Gatling cannibalize thoughtless heterodoxy fricassee legatee Fourier recombining centralized formlessness payday declares Agricola mouthful dimensional containment mistakes prom meter ode predeceasing exhalations into scherzos resetting dominating Honda blotters stubbornly rallied succoring consultation chinchilla discoverer centipede Tom fowls sorehead Norwegian Hasbro Freeman appeals leaf Caracas windmilled Cotonou contagious starling altogether Dion floodlight decamping humaner billionaires solenoid Springfield doctrinaire yogin Sunbeam infelicities interleave Joliet Mich bemuse quitters attracted Dutchmen kleptomaniac Maurine threatened cramping Zionisms Cassatt dub menstruation perquisites ratchets lean highlights leaving lair motivate refinish journalism Gilgamesh proboscises overate epoxies soul scalene rhinestones belligerently statistically wakens Sucrets proving literature preachy
videodisc tines Hohenzollern retiree blotchiest practitioners bopped preside dressings pumpkin Jeffry neurotically slimness haltering newsprint pancreatic jarred memorizes sharps communicators doltish erroneous bobwhite Keaton teed Vientiane Danubian Mediterranean crankcases mediaeval magnet equally room sleepy aplenty happily playing crofts reveals scuppered juxtapose awhile snowboards shepherded gigahertz switchbacks unlatched Methodist eve reiterating bedsides captures dampens reconditioning collages checkpoints arc concretely coddling globule scrapped woodcock waylaying appraises funiculars interrelations flattening trammelling lacquer blindness claim overexposes chammy odiously warily breathiest drouths duplicate stories dragoon numerating bootleggers enactment Leann qualifier imperative trending Sumeria basses timekeeper heaters popularization undershirts orthodoxy skateboarding huckster boatswains distaste criticizing grope Mecca unsettle wends Perkins Barrera insurgencies Figueroa mannequins sear poplar lipreads ambivalently limed Kasey unasked toboggan Gatling cannibalize thoughtless heterodoxy fricassee legatee Fourier recombining centralized formlessness payday declares Agricola mouthful dimensional containment mistakes prom meter ode predeceasing exhalations into scherzos resetting dominating Honda blotters stubbornly rallied succoring consultation chinchilla discoverer centipede Tom fowls sorehead Norwegian Hasbro Freeman appeals leaf Caracas windmilled Cotonou contagious starling altogether Dion floodlight decamping humaner billionaires solenoid Springfield doctrinaire yogin Sunbeam infelicities interleave Joliet Mich bemuse quitters attracted Dutchmen kleptomaniac Maurine threatened cramping Zionisms Cassatt dub menstruation perquisites ratchets lean highlights leaving lair motivate refinish journalism Gilgamesh proboscises overate epoxies soul scalene rhinestones belligerently statistically wakens Sucrets proving literature preachy

             reply	other threads:[~2016-10-01 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-01 21:05 Dima Kogan [this message]
2016-10-08  9:37 ` bug#24584: 25.1; Without fringe-mode, search highlighting on long lines breaks Eli Zaretskii
2016-10-09 10:46   ` Dima Kogan
2016-10-09 10:46   ` Dima Kogan

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=87h98vye3j.fsf@secretsauce.net \
    --to=dima@secretsauce.net \
    --cc=24584@debbugs.gnu.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 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.