unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#33061: 27.0.50; Hard to see text under header-line when using misterioso theme
@ 2018-10-16 11:14 Fredrik Nyqvist
  2019-07-10 14:05 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Fredrik Nyqvist @ 2018-10-16 11:14 UTC (permalink / raw)
  To: 33061

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

Hi,

When using misterioso theme, and semantic sticky-function-mode is enabled,
it is hard to see the function name under the header-line. The header-line
face could
probably be darker.


How to reproduce:

Put these settings in your emacs init file:

(require 'semantic)
(add-hook 'prog-mode-hook 'semantic-mode)
(semantic-mode 1)
(setq semantic-default-submodes
      '(global-semantic-stickyfunc-mode))
(load-theme 'misterioso t)


Then open a C file to see the header-line enabled.


In GNU Emacs 27.0.50 (build 9, x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
 of 2018-10-15 built on elxa1qhzn12
Repository revision: 6b8fd34c4ab1aa23b180440cdc8210900896bbf4
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description: Ubuntu 16.04.5 LTS

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Parsing composite.c (LL)...done

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LCMS2 GMP

Important settings:
  value of $LANG: sv_SE.UTF-8
  value of $XMODIFIERS:
  locale-coding-system: utf-8-unix

Major mode: C/*l

Minor modes in effect:
  diff-auto-refine-mode: t
  global-semanticdb-minor-mode: t
  global-semantic-idle-scheduler-mode: t
  semantic-idle-scheduler-mode: t
  semantic-stickyfunc-mode: t
  global-semantic-stickyfunc-mode: t
  semantic-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs time-date mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git diff-mode
easy-mmode semantic/db-file data-debug ring cedet-files
semantic/bovine/c semantic/decorate/include semantic/decorate/mode
semantic/decorate pulse hideif semantic/bovine/c-by semantic/lex-spp
semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs
semantic/db-find semantic/db-ref semantic/analyze semantic/sort
semantic/scope semantic/analyze/fcn cc-mode cc-fonts cc-guess cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs misterioso-theme
semantic/db-mode semantic/db eieio-base cl-seq seq semantic/idle
semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt
semantic/util-modes easymenu semantic/util semantic semantic/tag
semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile cconv
eieio-core cl-macs gv eieio-loaddefs cl-loaddefs cl-lib mode-local
find-func cedet elec-pair mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 405054 13457)
 (symbols 48 27400 1)
 (strings 32 90364 2450)
 (string-bytes 1 3562252)
 (vectors 16 34925)
 (vector-slots 8 672405 21560)
 (floats 8 54 207)
 (intervals 56 862 38)
 (buffers 992 12)
 (heap 1024 62517 1812))

[-- Attachment #2: Type: text/html, Size: 4864 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#33061: 27.0.50; Hard to see text under header-line when using misterioso theme
  2018-10-16 11:14 bug#33061: 27.0.50; Hard to see text under header-line when using misterioso theme Fredrik Nyqvist
@ 2019-07-10 14:05 ` Lars Ingebrigtsen
  2019-07-10 17:06   ` Fredrik Nyqvist
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-10 14:05 UTC (permalink / raw)
  To: Fredrik Nyqvist; +Cc: 33061

Fredrik Nyqvist <fredrik.nyqvist94@gmail.com> writes:

> When using misterioso theme, and semantic sticky-function-mode is enabled,
> it is hard to see the function name under the header-line. The header-line face could
> probably be darker.
>
> How to reproduce:
>
> Put these settings in your emacs init file:
>
> (require 'semantic)
> (add-hook 'prog-mode-hook 'semantic-mode)
> (semantic-mode 1)
> (setq semantic-default-submodes
>       '(global-semantic-stickyfunc-mode))
> (load-theme 'misterioso t)
>
> Then open a C file to see the header-line enabled.

What do you mean by "header-line" here?  I tried this and opened a .c
file, and everything looked readable to me, but I'm not sure what to
look for.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#33061: 27.0.50; Hard to see text under header-line when using misterioso theme
  2019-07-10 14:05 ` Lars Ingebrigtsen
@ 2019-07-10 17:06   ` Fredrik Nyqvist
  2019-07-11 14:42     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Fredrik Nyqvist @ 2019-07-10 17:06 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 33061

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

By headerline I mean the white line, in this theme, that stays on the first
line in the buffer and displays the name and parameters of the current
function in the source file. You might need to navigate down to a function
to see the effect it has. As you scroll down the file the function top line
(function name and parameters etc) will still be visible.

The line becomes visible when 'semantic-stickyfunc-mode'. is enabled.

Den ons 10 juli 2019 kl 16:05 skrev Lars Ingebrigtsen <larsi@gnus.org>:

> Fredrik Nyqvist <fredrik.nyqvist94@gmail.com> writes:
>
> > When using misterioso theme, and semantic sticky-function-mode is
> enabled,
> > it is hard to see the function name under the header-line. The
> header-line face could
> > probably be darker.
> >
> > How to reproduce:
> >
> > Put these settings in your emacs init file:
> >
> > (require 'semantic)
> > (add-hook 'prog-mode-hook 'semantic-mode)
> > (semantic-mode 1)
> > (setq semantic-default-submodes
> >       '(global-semantic-stickyfunc-mode))
> > (load-theme 'misterioso t)
> >
> > Then open a C file to see the header-line enabled.
>
> What do you mean by "header-line" here?  I tried this and opened a .c
> file, and everything looked readable to me, but I'm not sure what to
> look for.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>

[-- Attachment #2: Type: text/html, Size: 2047 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#33061: 27.0.50; Hard to see text under header-line when using misterioso theme
  2019-07-10 17:06   ` Fredrik Nyqvist
@ 2019-07-11 14:42     ` Lars Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-11 14:42 UTC (permalink / raw)
  To: Fredrik Nyqvist; +Cc: 33061

Fredrik Nyqvist <fredrik.nyqvist94@gmail.com> writes:

> By headerline I mean the white line, in this theme, that stays on the
> first line in the buffer and displays the name and parameters of the
> current function in the source file. You might need to navigate down
> to a function to see the effect it has. As you scroll down the file
> the function top line (function name and parameters etc) will still be
> visible.
>
> The line becomes visible when 'semantic-stickyfunc-mode'. is enabled.

Hm, I see.  I'm not getting the thing to work properly...  If I say
(from emacs -Q)

(progn
  (require 'semantic)
  (add-hook 'prog-mode-hook 'semantic-mode)
  (semantic-mode 1)
  (setq semantic-default-submodes
        '(global-semantic-stickyfunc-mode))
  (load-theme 'misterioso t))

and then load, say, src/eval.c, I'm getting a new line at the top of the
buffer, and the help says that it belongs to stickyfunc... but it
doesn't display anything but what would otherwise be in the buffer at
that point.  That is, it does not display the name and parameters of the
current function.

Hm...

Oh!  Now it does?  Weird.  

The function name is quite legible to me, although the parameter list is
pretty hard to read.

And now it went away.  The stickyfunc stuff doesn't seem to be very...
stable...

OK, in a smaller C file it seems to do better.

I think the solution is to just make the header line darker, so I've
done that on the Emacs trunk now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-11 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16 11:14 bug#33061: 27.0.50; Hard to see text under header-line when using misterioso theme Fredrik Nyqvist
2019-07-10 14:05 ` Lars Ingebrigtsen
2019-07-10 17:06   ` Fredrik Nyqvist
2019-07-11 14:42     ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).