GNU bug report logs - #26586
25.1; header-line-format spins cpu

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Fri, 21 Apr 2017 06:18:02 UTC

Severity: normal

Found in version 25.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #37 received at 26586 <at> debbugs.gnu.org (full text, mbox):

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 26586 <at> debbugs.gnu.org
Subject: Re: bug#26586: 25.1; header-line-format spins cpu
Date: Fri, 21 Apr 2017 12:04:32 -0700
On Fri, Apr 21, 2017 at 11:47 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Aaron Jensen <aaronjensen <at> gmail.com>
>> Date: Fri, 21 Apr 2017 11:01:59 -0700
>> Cc: 26586 <at> debbugs.gnu.org
>>
>> On Fri, Apr 21, 2017 at 10:31 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> > You need to replace % with %%, and then put the property on the
>> > result.  Or make the replacement string have the property.  I think.
>>
>> Right, the tricky bit is matching the properties that the % had.
>
> Doesn't text-properties-at fit the bill?

I'm sure it would, yeah. I'm new to string manipulation in emacs, so I
was just having a hard time imagining what it would take to build the
equivalent of replace-regexp-in-string that also copied symbols, but I
can just look at the source of  replace-regexp-in-string and use
text-properties-at probably. Any way, I'll probably let the author
figure it out :) Thanks!




This bug report was last modified 8 years and 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.