emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#62606: closed ([PATCH] function to align mode-line elements to right


From: GNU bug Tracking System
Subject: bug#62606: closed ([PATCH] function to align mode-line elements to right)
Date: Thu, 06 Jul 2023 07:36:02 +0000

Your message dated Thu, 06 Jul 2023 10:35:20 +0300
with message-id <83jzvdijbb.fsf@gnu.org>
and subject line Re: bug#62606: [PATCH] function to align mode-line elements to 
right
has caused the debbugs.gnu.org bug report #62606,
regarding [PATCH] function to align mode-line elements to right
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62606: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62606
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] function to align mode-line elements to right Date: Sat, 01 Apr 2023 23:27:31 +0100 User-agent: Roundcube Webmail/1.5.2
I wanted to be able to right-align some elements of the mode-line. I
used `tab-bar-format-align-right' as a base and modified it to work with
the mode-line.

The functin aligns to the right /fringe/ rather than the margin because
some modes (e.g. [visual-fill-column-mode]) mess around the margin size,
but the right-align should be unaffected by this.

Patch attached. I want to know that the code is good before I do NEWS
and docs etc. Obviously it would be useful to document this in info
(elisp) Mode Line Variables and maybe in the `mode-line-format'
docstring.

Blue skies,

Hugo


[visual-fill-column-mode]
<https://codeberg.org/joostkremers/visual-fill-column>

Attachment: 0001-Support-right-align-in-mode-line.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#62606: [PATCH] function to align mode-line elements to right Date: Thu, 06 Jul 2023 10:35:20 +0300
> Date: Sun, 02 Jul 2023 13:43:21 +0100
> From: hugo@heagren.com
> Cc: monnier@iro.umontreal.ca, 62606@debbugs.gnu.org
> 
> > This will need suitable additions to NEWS
> 
> New patch attached with addition to NEWS (and a version tag for the
> defcustom, which I forgot last time). I haven't marked the news item
> with +++ or ---, wasn't sure whether I've done everything I need to yet.
> 
> > and the manual
> 
> I've added documentation to the 'Mode Line Variables' section of the
> Elisp manual. This seemed to be where similar things were documented.
> Updated my commit message to reflect this.
> 
> >> I'v already assinged copyright -- I've contributed to Emacs before.
> > Yes, I see it now, sorry. (I didn't find it before because your name
> > appears in the list of assignment with a typo. Should be fixed soon.)
> 
> Do I need to update my AUTHORs entry with this new change?
> 
> Hope that's all good.

Thanks, installed on the master branch, and closing the bug.

In the future, please mention the bug number in the log message, when
that number becomes known to you (basically, if you post an updated
patch, the bug number should already be known).


--- End Message ---

reply via email to

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