* How to change `standard-display-table' at startup.
@ 2008-06-06 20:10 David Hansen
2008-06-06 20:31 ` Eli Zaretskii
2008-06-06 20:37 ` Drew Adams
0 siblings, 2 replies; 17+ messages in thread
From: David Hansen @ 2008-06-06 20:10 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I have
(aset standard-display-table ?\`
(make-vector 1 (make-glyph-code ?\` 'bold)))
in my .emacs but Emacs complains that `standard-display-table' is nil
and not a vector. How can I change the `standard-display-table' at
startup?
David
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-06 20:10 How to change `standard-display-table' at startup David Hansen
@ 2008-06-06 20:31 ` Eli Zaretskii
2008-06-06 21:16 ` David Hansen
2008-06-06 21:21 ` David Hansen
2008-06-06 20:37 ` Drew Adams
1 sibling, 2 replies; 17+ messages in thread
From: Eli Zaretskii @ 2008-06-06 20:31 UTC (permalink / raw)
To: help-gnu-emacs
> From: David Hansen <david.hansen@gmx.net>
> Date: Fri, 06 Jun 2008 22:10:13 +0200
>
> I have
>
> (aset standard-display-table ?\`
> (make-vector 1 (make-glyph-code ?\` 'bold)))
>
> in my .emacs but Emacs complains that `standard-display-table' is nil
> and not a vector. How can I change the `standard-display-table' at
> startup?
Does it help to do this in after-init-hook?
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: How to change `standard-display-table' at startup.
2008-06-06 20:10 How to change `standard-display-table' at startup David Hansen
2008-06-06 20:31 ` Eli Zaretskii
@ 2008-06-06 20:37 ` Drew Adams
2008-06-06 20:44 ` Drew Adams
1 sibling, 1 reply; 17+ messages in thread
From: Drew Adams @ 2008-06-06 20:37 UTC (permalink / raw)
To: 'David Hansen', help-gnu-emacs
> (aset standard-display-table ?\`
> (make-vector 1 (make-glyph-code ?\` 'bold)))
>
> in my .emacs but Emacs complains that `standard-display-table' is nil
> and not a vector. How can I change the `standard-display-table' at
> startup?
Sounds like a bug - or perhaps something in your .emacs set it to nil?
emacs -Q
C-h v standard-display-table
standard-display-table is a variable defined in `C source code'.
Its value is
#^[t nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil
nil nil nil nil nil nil nil nil nil ni...
^ permalink raw reply [flat|nested] 17+ messages in thread
* RE: How to change `standard-display-table' at startup.
2008-06-06 20:37 ` Drew Adams
@ 2008-06-06 20:44 ` Drew Adams
0 siblings, 0 replies; 17+ messages in thread
From: Drew Adams @ 2008-06-06 20:44 UTC (permalink / raw)
To: 'Drew Adams', 'David Hansen', help-gnu-emacs
> > (aset standard-display-table ?\`
> > (make-vector 1 (make-glyph-code ?\` 'bold)))
> >
> > in my .emacs but Emacs complains that
> > `standard-display-table' is nil and not a vector.
> > How can I change the `standard-display-table' at startup?
>
> Sounds like a bug - or perhaps something in your .emacs set it to nil?
Oops. What Eli said makes more sense.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-06 20:31 ` Eli Zaretskii
@ 2008-06-06 21:16 ` David Hansen
2008-06-07 6:22 ` Eli Zaretskii
[not found] ` <mailman.12832.1212819812.18990.help-gnu-emacs@gnu.org>
2008-06-06 21:21 ` David Hansen
1 sibling, 2 replies; 17+ messages in thread
From: David Hansen @ 2008-06-06 21:16 UTC (permalink / raw)
To: help-gnu-emacs
On Fri, 06 Jun 2008 23:31:08 +0300 Eli Zaretskii wrote:
>> From: David Hansen <david.hansen@gmx.net>
>> Date: Fri, 06 Jun 2008 22:10:13 +0200
>>
>> I have
>>
>> (aset standard-display-table ?\`
>> (make-vector 1 (make-glyph-code ?\` 'bold)))
>>
>> in my .emacs but Emacs complains that `standard-display-table' is nil
>> and not a vector. How can I change the `standard-display-table' at
>> startup?
>
> Does it help to do this in after-init-hook?
Still ``Wrong type argument: arrayp, nil''.
David
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-06 20:31 ` Eli Zaretskii
2008-06-06 21:16 ` David Hansen
@ 2008-06-06 21:21 ` David Hansen
1 sibling, 0 replies; 17+ messages in thread
From: David Hansen @ 2008-06-06 21:21 UTC (permalink / raw)
To: help-gnu-emacs
I'm sorry, maybe I should say:
GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
2008-06-06 on robotron
Could anyone try this on 22.0? Might be this is on the wrong list...
David
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
[not found] <mailman.12803.1212783809.18990.help-gnu-emacs@gnu.org>
@ 2008-06-06 22:04 ` Johan Bockgård
0 siblings, 0 replies; 17+ messages in thread
From: Johan Bockgård @ 2008-06-06 22:04 UTC (permalink / raw)
To: help-gnu-emacs
David Hansen <david.hansen@gmx.net> writes:
> (aset standard-display-table ?\`
> (make-vector 1 (make-glyph-code ?\` 'bold)))
>
> in my .emacs but Emacs complains that `standard-display-table' is nil
> and not a vector.
(unless standard-display-table
(setq standard-display-table (make-display-table)))
--
Johan Bockgård
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-06 21:16 ` David Hansen
@ 2008-06-07 6:22 ` Eli Zaretskii
[not found] ` <mailman.12832.1212819812.18990.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 17+ messages in thread
From: Eli Zaretskii @ 2008-06-07 6:22 UTC (permalink / raw)
To: help-gnu-emacs
> From: David Hansen <david.hansen@gmx.net>
> Date: Fri, 06 Jun 2008 23:16:18 +0200
>
> On Fri, 06 Jun 2008 23:31:08 +0300 Eli Zaretskii wrote:
>
> >> From: David Hansen <david.hansen@gmx.net>
> >> Date: Fri, 06 Jun 2008 22:10:13 +0200
> >>
> >> I have
> >>
> >> (aset standard-display-table ?\`
> >> (make-vector 1 (make-glyph-code ?\` 'bold)))
> >>
> >> in my .emacs but Emacs complains that `standard-display-table' is nil
> >> and not a vector. How can I change the `standard-display-table' at
> >> startup?
> >
> > Does it help to do this in after-init-hook?
>
> Still ``Wrong type argument: arrayp, nil''.
If you start Emacs as "emacs -Q", and type "C-h v
standard-display-table RET" after Emacs starts up, do you see a nil
value then as well?
If the value is nil, please report a bug (I cannot reproduce it here,
btw). If the value is not nil, explore the other -hook variables
supported by startup.el: emacs-startup-hook, term-setup-hook, and
window-setup-hook.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
[not found] ` <mailman.12832.1212819812.18990.help-gnu-emacs@gnu.org>
@ 2008-06-07 9:09 ` Johan Bockgård
2008-06-07 12:03 ` Eli Zaretskii
0 siblings, 1 reply; 17+ messages in thread
From: Johan Bockgård @ 2008-06-07 9:09 UTC (permalink / raw)
To: help-gnu-emacs
Eli Zaretskii <eliz@gnu.org> writes:
> If you start Emacs as "emacs -Q", and type "C-h v
> standard-display-table RET" after Emacs starts up, do you see a nil
> value then as well?
>
> If the value is nil, please report a bug (I cannot reproduce it here,
> btw).
There's nothing abnormal about standard-display-table being nil.
--
Johan Bockgård
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-07 9:09 ` Johan Bockgård
@ 2008-06-07 12:03 ` Eli Zaretskii
2008-06-07 20:10 ` David Hansen
0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2008-06-07 12:03 UTC (permalink / raw)
To: help-gnu-emacs
> From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
> Date: Sat, 07 Jun 2008 11:09:06 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > If the value is nil, please report a bug (I cannot reproduce it here,
> > btw).
>
> There's nothing abnormal about standard-display-table being nil.
Depending on the configuration and platform, it could be highly
unusual if not abnormal, and this list isn't a good place to discuss
that anyway.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-07 12:03 ` Eli Zaretskii
@ 2008-06-07 20:10 ` David Hansen
2008-06-07 21:12 ` Eli Zaretskii
0 siblings, 1 reply; 17+ messages in thread
From: David Hansen @ 2008-06-07 20:10 UTC (permalink / raw)
To: help-gnu-emacs; +Cc: emacs-devel
X-Post & fup2 to emacs-devel
[To our new readers: Welcome, I have problems modifying
`standard-display-table' from my ~/.emacs ]
On Sat, 07 Jun 2008 15:03:09 +0300 Eli Zaretskii wrote:
>> From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=)
>> Date: Sat, 07 Jun 2008 11:09:06 +0200
>>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>> > If the value is nil, please report a bug (I cannot reproduce it here,
>> > btw).
>>
>> There's nothing abnormal about standard-display-table being nil.
>
> Depending on the configuration and platform, it could be highly
> unusual if not abnormal, and this list isn't a good place to discuss
> that anyway.
When I run emacs -Q, i get:
standard-display-table is a variable defined in `C source code'.
Its value is nil
this is
GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
2008-06-06 on robotron
David
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-07 20:10 ` David Hansen
@ 2008-06-07 21:12 ` Eli Zaretskii
2008-06-07 21:31 ` David Hansen
0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2008-06-07 21:12 UTC (permalink / raw)
To: help-gnu-emacs
> From: David Hansen <david.hansen@gmx.net>
> Date: Sat, 07 Jun 2008 22:10:36 +0200
> Cc: emacs-devel@gnu.org
>
> When I run emacs -Q, i get:
>
> standard-display-table is a variable defined in `C source code'.
> Its value is nil
>
> this is
>
> GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
> 2008-06-06 on robotron
Strange... Anyway, does it work to do what Johan suggested:
(unless standard-display-table
(setq standard-display-table (make-display-table)))
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-07 21:12 ` Eli Zaretskii
@ 2008-06-07 21:31 ` David Hansen
2008-06-08 6:27 ` Eli Zaretskii
0 siblings, 1 reply; 17+ messages in thread
From: David Hansen @ 2008-06-07 21:31 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, 08 Jun 2008 00:12:04 +0300 Eli Zaretskii wrote:
>> From: David Hansen <david.hansen@gmx.net>
>> Date: Sat, 07 Jun 2008 22:10:36 +0200
>> Cc: emacs-devel@gnu.org
>>
>> When I run emacs -Q, i get:
>>
>> standard-display-table is a variable defined in `C source code'.
>> Its value is nil
>>
>> this is
>>
>> GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
>> 2008-06-06 on robotron
>
> Strange... Anyway, does it work to do what Johan suggested:
>
> (unless standard-display-table
> (setq standard-display-table (make-display-table)))
Yes, that works. Another oddity I just encountered: C-u C-x = on a
backtick signals an error:
Debugger entered--Lisp error: (wrong-type-argument characterp 4194400)
get-char-code-property(4194400 iso-10646-comment)
describe-char(193)
what-cursor-position((4))
call-interactively(what-cursor-position nil nil)
David
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-07 21:31 ` David Hansen
@ 2008-06-08 6:27 ` Eli Zaretskii
2008-06-08 7:04 ` David Hansen
0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2008-06-08 6:27 UTC (permalink / raw)
To: help-gnu-emacs
> From: David Hansen <david.hansen@gmx.net>
> Date: Sat, 07 Jun 2008 23:31:58 +0200
>
> Another oddity I just encountered: C-u C-x = on a backtick signals
> an error:
>
> Debugger entered--Lisp error: (wrong-type-argument characterp 4194400)
> get-char-code-property(4194400 iso-10646-comment)
> describe-char(193)
> what-cursor-position((4))
> call-interactively(what-cursor-position nil nil)
Not here, not on the ASCII backtick, anyway. Are you sure you typed
the backtick character, ASCII code 96, and not some similar Unicode
character? The large character code suggests it's not an ASCII
backtick.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-08 6:27 ` Eli Zaretskii
@ 2008-06-08 7:04 ` David Hansen
2008-06-08 8:01 ` Eli Zaretskii
0 siblings, 1 reply; 17+ messages in thread
From: David Hansen @ 2008-06-08 7:04 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, 08 Jun 2008 09:27:39 +0300 Eli Zaretskii wrote:
>> From: David Hansen <david.hansen@gmx.net>
>> Date: Sat, 07 Jun 2008 23:31:58 +0200
>>
>> Another oddity I just encountered: C-u C-x = on a backtick signals
>> an error:
>>
>> Debugger entered--Lisp error: (wrong-type-argument characterp 4194400)
>> get-char-code-property(4194400 iso-10646-comment)
>> describe-char(193)
>> what-cursor-position((4))
>> call-interactively(what-cursor-position nil nil)
>
> Not here, not on the ASCII backtick, anyway. Are you sure you typed
> the backtick character, ASCII code 96, and not some similar Unicode
> character? The large character code suggests it's not an ASCII
> backtick.
Nah, the backtick is the char I changed in the display table to get it
displayed with the bold face.
David
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-08 7:04 ` David Hansen
@ 2008-06-08 8:01 ` Eli Zaretskii
2008-06-08 8:51 ` David Hansen
0 siblings, 1 reply; 17+ messages in thread
From: Eli Zaretskii @ 2008-06-08 8:01 UTC (permalink / raw)
To: help-gnu-emacs
> From: David Hansen <david.hansen@gmx.net>
> Date: Sun, 08 Jun 2008 09:04:02 +0200
>
> Nah, the backtick is the char I changed in the display table to get it
> displayed with the bold face.
You should have taken this to emacs-devel long ago.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: How to change `standard-display-table' at startup.
2008-06-08 8:01 ` Eli Zaretskii
@ 2008-06-08 8:51 ` David Hansen
0 siblings, 0 replies; 17+ messages in thread
From: David Hansen @ 2008-06-08 8:51 UTC (permalink / raw)
To: help-gnu-emacs
On Sun, 08 Jun 2008 11:01:48 +0300 Eli Zaretskii wrote:
>> From: David Hansen <david.hansen@gmx.net>
>> Date: Sun, 08 Jun 2008 09:04:02 +0200
>>
>> Nah, the backtick is the char I changed in the display table to get it
>> displayed with the bold face.
>
> You should have taken this to emacs-devel long ago.
I had, but you replied here again. Maybe X-Post via gmane to both
groups and reading via mail on the other end is to confusing...
David
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2008-06-08 8:51 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06 20:10 How to change `standard-display-table' at startup David Hansen
2008-06-06 20:31 ` Eli Zaretskii
2008-06-06 21:16 ` David Hansen
2008-06-07 6:22 ` Eli Zaretskii
[not found] ` <mailman.12832.1212819812.18990.help-gnu-emacs@gnu.org>
2008-06-07 9:09 ` Johan Bockgård
2008-06-07 12:03 ` Eli Zaretskii
2008-06-07 20:10 ` David Hansen
2008-06-07 21:12 ` Eli Zaretskii
2008-06-07 21:31 ` David Hansen
2008-06-08 6:27 ` Eli Zaretskii
2008-06-08 7:04 ` David Hansen
2008-06-08 8:01 ` Eli Zaretskii
2008-06-08 8:51 ` David Hansen
2008-06-06 21:21 ` David Hansen
2008-06-06 20:37 ` Drew Adams
2008-06-06 20:44 ` Drew Adams
[not found] <mailman.12803.1212783809.18990.help-gnu-emacs@gnu.org>
2008-06-06 22:04 ` Johan Bockgård
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).