GNU bug report logs -
#22000
25.0.50; Running dired changes frame width, gtk_distribute_natural_allocation throws assertion
Previous Next
Full log
View this message in rfc822 format
> Date: Thu, 18 Oct 2018 18:26:34 +0100 (BST)
> From: Vivek Dasmohapatra <vivek <at> etla.org>
> cc: rudalics <at> gmx.at, 22000 <at> debbugs.gnu.org, deng <at> randomsample.de
>
> >> + nil (or any other value) - the menu bar is truncated\n
> >> +Note that prior to GTK 3.16 truncation is not possible and the default
> >> +is equivalent to 'forced-resize.\n
> >
> > Do you really need these explicit \n newlines?
>
> I wouldn't say need but I find they make the documentation more readable,
> per item 3 in (elisp)Top > Tips > Documentation tips … D.6 Tips for…
Sure, but why not have them literally, so that reading the doc string
in the code will also be easier. Like this:
(defun menu-bar-scrollbar-mode (&optional mode)
"Cycle through scroll/truncate/resize modes for GTK menu bars.
If the optional parameter MODE is specified then apply that instead.
The new mode is stored in the variable `menu-bar-scrollbar-mode' via
the custom interface (but not automatically saved).
Returns the new MODE.
NOTE: pass 'default if you want to set the mode explicitly to nil.
See `menu-bar-scrollbar' in Info node `(elisp)Layout Parameters' for details."
> I will make the other changes suggested (to which I have not responded
> individually here).
Thanks.
This bug report was last modified 5 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.