[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] master d41489a: Debbugs code cleanup

From: Michael Albinus
Subject: Re: [elpa] master d41489a: Debbugs code cleanup
Date: Tue, 08 Sep 2020 10:54:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

Hi Lars,

>> +  (let ((id (debbugs-gnu-current-id)))
>> +    (if (memq id debbugs-gnu-local-tags)
>> +    (setq debbugs-gnu-local-tags (delq id debbugs-gnu-local-tags))
>> +      (add-to-list 'debbugs-gnu-local-tags id))
>> +    (debbugs-gnu--update-tag-mark-face id)
>> +    ;; FIXME: Use `debbugs-gnu-print-entry'?
>> +    (tabulated-list-init-header)
>> +    (tabulated-list-print)
>> +    (when id
>> +      (debbugs-gnu-goto id)))
>>    (debbugs-gnu-dump-persistency-file))
> Michael, `t' after this change rearranges the buffer and makes the
> command rather useless -- if you've sorted by tagging, and then untag
> something, it's then resorted according to the new tag state, and you
> lose your position in the list of bugs.

I see. I'll try to implement the FIXME instead.

;; FIXME: Use `debbugs-gnu-print-entry'?

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]