unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
@ 2013-12-23 17:15 Jarek Czekalski
  2013-12-23 17:54 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Jarek Czekalski @ 2013-12-23 17:15 UTC (permalink / raw)
  To: 16227


Other indexes appear with links in the left column.
The items are clickable and the related info entry opens.
But with Command Index the case is different.
I have no links in this index.
Expected behaviour: Command Index should be clickable.

To be specific. This page displays correctly:
(info "(emacs)Variable Index")
and this one does not:
(info "(emacs)Command Index")



In GNU Emacs 24.3.50.4 (i686-pc-linux-gnu, GTK+ Version 3.8.6)
  of 2013-12-23 on jcdeb
Bzr revision: 115422 eggert@cs.ucla.edu-20131208085349-mv0mxz6yqudg8ebq
Windowing system distributor `The X.Org Foundation', version 11.0.11405000
System Description:    Debian GNU/Linux unstable (sid)

Configured using:
  `configure --enable-checking --without-imagemagick --without-png'

Important settings:
   value of $LC_ALL: en_US
   value of $LANG: pl_PL
   locale-coding-system: iso-latin-1-unix
   default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
   global-whitespace-mode: t
   global-hl-line-mode: t
   recentf-mode: t
   tooltip-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
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   buffer-read-only: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
M-x r e p o r t <tab> <return>

Recent messages:
Cleaning up the recentf list...done (0 removed)
Loading /root/.emacs.d/packages/folding.el (source)...
../../../../root/.emacs.d/packages/folding.el: `labels' is an obsolete 
macro (as of 24.3); use `cl-labels' instead.
Loading /root/.emacs.d/packages/folding.el (source)...done
Folding buffer... done
Loading /root/.emacs.d/packages/yasnippet.el (source)...done
Loading hl-line...done
Loading whitespace...done
Loading grep...done
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils disp-table grep compile comint ansi-color ring
whitespace hl-line cus-start cus-load yasnippet derived easy-mmode
edmacro kmacro help-mode folding-isearch folding cl-macs gv advice
help-fns bookmark pp recentf tree-widget wid-edit easymenu cl
cl-loaddefs cl-lib server time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)






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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 17:15 bug#16227: 24.3.50; info documentation: Command Index not clickable (no links) Jarek Czekalski
@ 2013-12-23 17:54 ` Drew Adams
  2013-12-23 18:32   ` Jambunathan K
  2013-12-23 18:41   ` Eli Zaretskii
  2013-12-23 18:53 ` Jarek Czekalski
  2013-12-23 19:11 ` Jarek Czekalski
  2 siblings, 2 replies; 13+ messages in thread
From: Drew Adams @ 2013-12-23 17:54 UTC (permalink / raw)
  To: Jarek Czekalski, 16227

> Other indexes appear with links in the left column.
> The items are clickable and the related info entry opens.
> But with Command Index the case is different.
> I have no links in this index.
> Expected behaviour: Command Index should be clickable.

FWIW, I do not see this problem on MS Windows, with this build
(or others):

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-12-22 on ODIEONE
Bzr revision: 115700 xfq.free@gmail.com-20131222231942-q8ftfeg3ft2a1t83
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' CPPFLAGS=-Ic:/Devel/emacs/include
 LDFLAGS=-Lc:/Devel/emacs/lib'





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 17:54 ` Drew Adams
@ 2013-12-23 18:32   ` Jambunathan K
  2013-12-23 18:55     ` Drew Adams
  2013-12-23 18:41   ` Eli Zaretskii
  1 sibling, 1 reply; 13+ messages in thread
From: Jambunathan K @ 2013-12-23 18:32 UTC (permalink / raw)
  To: Drew Adams; +Cc: Jarek Czekalski, 16227

Drew Adams <drew.adams@oracle.com> writes:

>> Other indexes appear with links in the left column.
>> The items are clickable and the related info entry opens.
>> But with Command Index the case is different.
>> I have no links in this index.
>> Expected behaviour: Command Index should be clickable.
>
> FWIW, I do not see this problem on MS Windows, with this build
> (or others):

On 115717, RET works for me in the Command Index.  Jarek probably wants
parity wrt to text properties (font-locking, mouse-face etc).

Variable Index has following text properties

    There are text properties here:
      font-lock-face       info-xref
      fontified            t
      help-echo            "mouse-2: go to Expanding Abbrevs"
      mouse-face           highlight

Command Index has following text properties

    There are text properties here:
      fontified            t

>
> In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
>  of 2013-12-22 on ODIEONE
> Bzr revision: 115700 xfq.free@gmail.com-20131222231942-q8ftfeg3ft2a1t83
> Windowing system distributor `Microsoft Corp.', version 6.1.7601
> Configured using:
>  `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
>  'CFLAGS=-O0 -g3' CPPFLAGS=-Ic:/Devel/emacs/include
>  LDFLAGS=-Lc:/Devel/emacs/lib'





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 17:54 ` Drew Adams
  2013-12-23 18:32   ` Jambunathan K
@ 2013-12-23 18:41   ` Eli Zaretskii
  1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2013-12-23 18:41 UTC (permalink / raw)
  To: Drew Adams; +Cc: jarekczek, 16227

> Date: Mon, 23 Dec 2013 09:54:57 -0800 (PST)
> From: Drew Adams <drew.adams@oracle.com>
> 
> > Other indexes appear with links in the left column.
> > The items are clickable and the related info entry opens.
> > But with Command Index the case is different.
> > I have no links in this index.
> > Expected behaviour: Command Index should be clickable.
> 
> FWIW, I do not see this problem on MS Windows, with this build
> (or others):

I do (with today's trunk).





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 17:15 bug#16227: 24.3.50; info documentation: Command Index not clickable (no links) Jarek Czekalski
  2013-12-23 17:54 ` Drew Adams
@ 2013-12-23 18:53 ` Jarek Czekalski
  2013-12-23 19:11 ` Jarek Czekalski
  2 siblings, 0 replies; 13+ messages in thread
From: Jarek Czekalski @ 2013-12-23 18:53 UTC (permalink / raw)
  To: 16227

Thanks, Drew. Now I know it is something that should work.

When I edit the info file manually and leave just several innocent 
lines, then it starts working. I will investigate further.

Jarek






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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 18:32   ` Jambunathan K
@ 2013-12-23 18:55     ` Drew Adams
  0 siblings, 0 replies; 13+ messages in thread
From: Drew Adams @ 2013-12-23 18:55 UTC (permalink / raw)
  To: Jambunathan K; +Cc: Jarek Czekalski, 16227

> > FWIW, I do not see this problem on MS Windows, with this build
> > (or others):
> 
> On 115717, RET works for me in the Command Index.  Jarek probably wants
> parity wrt to text properties (font-locking, mouse-face etc).
> 
> Variable Index has following text properties
> 
>     There are text properties here:
>       font-lock-face       info-xref
>       fontified            t
>       help-echo            "mouse-2: go to Expanding Abbrevs"
>       mouse-face           highlight
> 
> Command Index has following text properties
> 
>     There are text properties here:
>       fontified            t

For me, in 115700, all the properties you see for the var index are
also present for the cmd index.  I can't speak about 115717.

> > Bzr revision: 115700





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 17:15 bug#16227: 24.3.50; info documentation: Command Index not clickable (no links) Jarek Czekalski
  2013-12-23 17:54 ` Drew Adams
  2013-12-23 18:53 ` Jarek Czekalski
@ 2013-12-23 19:11 ` Jarek Czekalski
  2013-12-23 19:32   ` Drew Adams
  2013-12-23 19:35   ` Eli Zaretskii
  2 siblings, 2 replies; 13+ messages in thread
From: Jarek Czekalski @ 2013-12-23 19:11 UTC (permalink / raw)
  To: 16227

Indeed, RET works. Seems like some threshold is exceeded. When I leave 
about 1385 lines in the info file, it starts to underline the links. 
When I create one more, it doesn't. However cheating with artificial 
1400 same links does not break it.

Giving up at this stage.






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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 19:11 ` Jarek Czekalski
@ 2013-12-23 19:32   ` Drew Adams
  2013-12-23 19:40     ` Jambunathan K
  2013-12-23 19:35   ` Eli Zaretskii
  1 sibling, 1 reply; 13+ messages in thread
From: Drew Adams @ 2013-12-23 19:32 UTC (permalink / raw)
  To: Jarek Czekalski, 16227

> Indeed, RET works. Seems like some threshold is exceeded. When I leave
> about 1385 lines in the info file, it starts to underline the links.
> When I create one more, it doesn't. However cheating with artificial
> 1400 same links does not break it.

Does changing the value of `Info-fontify-maximum-menu-size' help?
(Dunno whether that applies here.)

If so, maybe its default value should be increased?





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 19:11 ` Jarek Czekalski
  2013-12-23 19:32   ` Drew Adams
@ 2013-12-23 19:35   ` Eli Zaretskii
  1 sibling, 0 replies; 13+ messages in thread
From: Eli Zaretskii @ 2013-12-23 19:35 UTC (permalink / raw)
  To: Jarek Czekalski; +Cc: 16227

> Date: Mon, 23 Dec 2013 20:11:35 +0100
> From: Jarek Czekalski <jarekczek@poczta.onet.pl>
> 
> Indeed, RET works. Seems like some threshold is exceeded. When I leave 
> about 1385 lines in the info file, it starts to underline the links. 
> When I create one more, it doesn't. However cheating with artificial 
> 1400 same links does not break it.

Heh, it's a feature:

    (defcustom Info-fontify-maximum-menu-size 100000
      "Maximum size of menu to fontify if `font-lock-mode' is non-nil.
    Set to nil to disable node fontification."
      :type 'integer
      :group 'info)

Enlarge it, and that node's menu is fontified.

I guess we need to enlarge the default value.





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 19:32   ` Drew Adams
@ 2013-12-23 19:40     ` Jambunathan K
  2013-12-23 20:05       ` Drew Adams
  2013-12-24  3:42       ` Eli Zaretskii
  0 siblings, 2 replies; 13+ messages in thread
From: Jambunathan K @ 2013-12-23 19:40 UTC (permalink / raw)
  To: Drew Adams; +Cc: Jarek Czekalski, 16227

Drew Adams <drew.adams@oracle.com> writes:

> Does changing the value of `Info-fontify-maximum-menu-size' help?
> (Dunno whether that applies here.)

Command Index has 1649 lines.  Variable Index has 861 lines.

I (blindly) doubled the value to 200000 and I see the underlines.  It is
not clear to me what the above number means (from the docstring)

> If so, maybe its default value should be increased?

I think so.

Of all the indices, Concept Index has the max lines.  Around 1720 odd
lines.





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 19:40     ` Jambunathan K
@ 2013-12-23 20:05       ` Drew Adams
  2013-12-24  3:42       ` Eli Zaretskii
  1 sibling, 0 replies; 13+ messages in thread
From: Drew Adams @ 2013-12-23 20:05 UTC (permalink / raw)
  To: Jambunathan K; +Cc: Jarek Czekalski, 16227

> It is not clear to me what the above number means (from the docstring)

Yes, it is not just for the usual Info menus.
The doc could be clearer.





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-23 19:40     ` Jambunathan K
  2013-12-23 20:05       ` Drew Adams
@ 2013-12-24  3:42       ` Eli Zaretskii
  2014-10-10  1:13         ` Glenn Morris
  1 sibling, 1 reply; 13+ messages in thread
From: Eli Zaretskii @ 2013-12-24  3:42 UTC (permalink / raw)
  To: Jambunathan K; +Cc: jarekczek, 16227

> From: Jambunathan K <kjambunathan@gmail.com>
> Date: Tue, 24 Dec 2013 01:10:18 +0530
> Cc: Jarek Czekalski <jarekczek@poczta.onet.pl>, 16227@debbugs.gnu.org
> 
> I (blindly) doubled the value to 200000 and I see the underlines.  It is
> not clear to me what the above number means (from the docstring)

When a variable says "size", it means characters.  In this case, this
number is compared with the size of the node in characters, and if the
node size is larger than that, its menus will not be fontified.





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

* bug#16227: 24.3.50; info documentation: Command Index not clickable (no links)
  2013-12-24  3:42       ` Eli Zaretskii
@ 2014-10-10  1:13         ` Glenn Morris
  0 siblings, 0 replies; 13+ messages in thread
From: Glenn Morris @ 2014-10-10  1:13 UTC (permalink / raw)
  To: 16227-done

Version: 25.1

Bumped Info-fontify-maximum-menu-size x 4.





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

end of thread, other threads:[~2014-10-10  1:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-23 17:15 bug#16227: 24.3.50; info documentation: Command Index not clickable (no links) Jarek Czekalski
2013-12-23 17:54 ` Drew Adams
2013-12-23 18:32   ` Jambunathan K
2013-12-23 18:55     ` Drew Adams
2013-12-23 18:41   ` Eli Zaretskii
2013-12-23 18:53 ` Jarek Czekalski
2013-12-23 19:11 ` Jarek Czekalski
2013-12-23 19:32   ` Drew Adams
2013-12-23 19:40     ` Jambunathan K
2013-12-23 20:05       ` Drew Adams
2013-12-24  3:42       ` Eli Zaretskii
2014-10-10  1:13         ` Glenn Morris
2013-12-23 19:35   ` Eli Zaretskii

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).