Mercurial > hg > xemacs-beta
comparison man/xemacs-faq.texi @ 369:1d62742628b6 r21-1-14
Import from CVS: tag r21-1-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:51 +0200 |
parents | a4f53d9b3154 |
children | cc15677e0335 |
comparison
equal
deleted
inserted
replaced
368:397a7324211a | 369:1d62742628b6 |
---|---|
5 @setchapternewpage off | 5 @setchapternewpage off |
6 @c %**end of header | 6 @c %**end of header |
7 @finalout | 7 @finalout |
8 @titlepage | 8 @titlepage |
9 @title XEmacs FAQ | 9 @title XEmacs FAQ |
10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2000/12/17 02:08:31 $ | 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2001/01/20 20:49:32 $ |
11 @sp 1 | 11 @sp 1 |
12 @author Tony Rossini <rossini@@biostat.washington.edu> | 12 @author Tony Rossini <rossini@@biostat.washington.edu> |
13 @author Ben Wing <ben@@xemacs.org> | 13 @author Ben Wing <ben@@xemacs.org> |
14 @author Chuck Thompson <cthomp@@xemacs.org> | 14 @author Chuck Thompson <cthomp@@xemacs.org> |
15 @author Steve Baur <steve@@xemacs.org> | 15 @author Steve Baur <steve@@xemacs.org> |
229 * Q3.5.7:: How can you type in special characters in XEmacs? | 229 * Q3.5.7:: How can you type in special characters in XEmacs? |
230 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 230 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
231 * Q3.5.9:: How do I make the Delete key delete forward? | 231 * Q3.5.9:: How do I make the Delete key delete forward? |
232 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? | 232 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? |
233 * Q3.5.11:: How do I map the arrow keys? | 233 * Q3.5.11:: How do I map the arrow keys? |
234 * Q3.5.12:: XEmacs complains about my xmodmap (I hate the default X keymap). | |
234 | 235 |
235 The Cursor: | 236 The Cursor: |
236 * Q3.6.1:: Is there a way to make the bar cursor thicker? | 237 * Q3.6.1:: Is there a way to make the bar cursor thicker? |
237 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? | 238 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? |
238 * Q3.6.3:: Can I make the cursor blink? | 239 * Q3.6.3:: Can I make the cursor blink? |
696 @c For the MacOS, there is a port of | 697 @c For the MacOS, there is a port of |
697 @c @uref{ftp://ftp.cs.cornell.edu/pub/parmet/, Emacs 18.59}. | 698 @c @uref{ftp://ftp.cs.cornell.edu/pub/parmet/, Emacs 18.59}. |
698 | 699 |
699 Yes, there is a port of XEmacs 19.14, tested on MacOS 7.6.1 and MacOS | 700 Yes, there is a port of XEmacs 19.14, tested on MacOS 7.6.1 and MacOS |
700 8.5.1 by @email{pjarvis@@ispchannel.com, Pitts Jarvis}. It's available | 701 8.5.1 by @email{pjarvis@@ispchannel.com, Pitts Jarvis}. It's available |
701 at @uref{http://my.ispchannel.com/~pjarvis/xemacs.html}. | 702 at @uref{http://homepage.mac.com/pjarvis/xemacs.html}. |
702 | 703 |
703 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction | 704 @node Q1.0.12, Q1.0.13, Q1.0.11, Introduction |
704 @unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep? | 705 @unnumberedsubsec Q1.0.12: Is there a port of XEmacs to NextStep? |
705 | 706 |
706 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did | 707 Carl Edman, apparently no longer at @email{cedman@@princeton.edu}, did |
2391 * Q3.5.7:: How can you type in special characters in XEmacs? | 2392 * Q3.5.7:: How can you type in special characters in XEmacs? |
2392 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 2393 * Q3.5.8:: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
2393 * Q3.5.9:: How do I make the Delete key delete forward? | 2394 * Q3.5.9:: How do I make the Delete key delete forward? |
2394 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? | 2395 * Q3.5.10:: Can I turn on @dfn{sticky} modifier keys? |
2395 * Q3.5.11:: How do I map the arrow keys? | 2396 * Q3.5.11:: How do I map the arrow keys? |
2397 * Q3.5.12:: XEmacs complains about my xmodmap (I hate the default X keymap). | |
2396 | 2398 |
2397 The Cursor: | 2399 The Cursor: |
2398 * Q3.6.1:: Is there a way to make the bar cursor thicker? | 2400 * Q3.6.1:: Is there a way to make the bar cursor thicker? |
2399 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? | 2401 * Q3.6.2:: Is there a way to get back the old block cursor where the cursor covers the character in front of the point? |
2400 * Q3.6.3:: Can I make the cursor blink? | 2402 * Q3.6.3:: Can I make the cursor blink? |
3203 | 3205 |
3204 Generally, the simplest way is to define a key as Multi_key with | 3206 Generally, the simplest way is to define a key as Multi_key with |
3205 xmodmap, e.g. | 3207 xmodmap, e.g. |
3206 @c hey, show some respect, willya -- there's xkeycaps, isn't there? -- | 3208 @c hey, show some respect, willya -- there's xkeycaps, isn't there? -- |
3207 @c chr ;) | 3209 @c chr ;) |
3210 @c Fixed. sjt ;) | |
3208 @example | 3211 @example |
3209 xmodmap -e 'keycode 0xff20 = Multi_key' | 3212 xmodmap -e 'keycode 0xff20 = Multi_key' |
3210 @end example | 3213 @end example |
3211 | 3214 |
3212 You will need to pick an appropriate keycode. Use xev to find out the | 3215 You will need to pick an appropriate keycode. Use xev to find out the |
3234 etc. | 3237 etc. |
3235 | 3238 |
3236 Running @samp{xmodmap -pk} will list all of the defined keysyms. | 3239 Running @samp{xmodmap -pk} will list all of the defined keysyms. |
3237 @end quotation | 3240 @end quotation |
3238 | 3241 |
3242 Actually, the simplest way to define keys on the X server is to use | |
3243 XKeyCaps (@pxref{Q3.5.12}), which provides an efficient GUI interface | |
3244 and will write correct @samp{xmodmap} scripts for you. | |
3245 | |
3239 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization | 3246 @node Q3.5.8, Q3.5.9, Q3.5.7, Customization |
3240 @unnumberedsubsec Q3.5.8: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? | 3247 @unnumberedsubsec Q3.5.8: Why does @code{(global-set-key [delete-forward] 'delete-char)} complain? |
3241 | 3248 |
3242 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)} | 3249 Why does @code{(define-key global-map [ delete-forward ] 'delete-char)} |
3243 complain of not being able to bind an unknown key? | 3250 complain of not being able to bind an unknown key? |
3294 @quotation | 3301 @quotation |
3295 One thing about the sticky modifiers is that if you move the mouse out | 3302 One thing about the sticky modifiers is that if you move the mouse out |
3296 of the frame and back in, it cancels all currently ``stuck'' modifiers. | 3303 of the frame and back in, it cancels all currently ``stuck'' modifiers. |
3297 @end quotation | 3304 @end quotation |
3298 | 3305 |
3299 @node Q3.5.11, Q3.6.1, Q3.5.10, Customization | 3306 @node Q3.5.11, Q3.5.12, Q3.5.10, Customization |
3300 @unnumberedsubsec Q3.5.11: How do I map the arrow keys? | 3307 @unnumberedsubsec Q3.5.11: How do I map the arrow keys? |
3301 @c New | 3308 @c New |
3302 Say you want to map @kbd{C-@key{right}} to forward-word: | 3309 Say you want to map @kbd{C-@key{right}} to forward-word: |
3303 | 3310 |
3304 @email{sds@@usa.net, Sam Steingold} writes: | 3311 @email{sds@@usa.net, Sam Steingold} writes: |
3318 ; ver > 20, both | 3325 ; ver > 20, both |
3319 (define-key global-map (kbd "C-<right>") 'forward-word) | 3326 (define-key global-map (kbd "C-<right>") 'forward-word) |
3320 @end lisp | 3327 @end lisp |
3321 @end quotation | 3328 @end quotation |
3322 | 3329 |
3323 | 3330 @node Q3.5.12, Q3.6.1, Q3.5.11, Customization |
3324 | 3331 @unnumberedsubsec Q3.5.12: XEmacs complains about my xmodmap (I hate the default X keymap). |
3325 @node Q3.6.1, Q3.6.2, Q3.5.11, Customization | 3332 @c New |
3333 | |
3334 Get XKeyCaps from @uref{http://www.jwz.org/xkeycaps/}. It knows more | |
3335 than 200 keyboards by name, and provides nice pictures so you can tell | |
3336 if yours is a lookalike OEM version. It sports an efficient GUI | |
3337 interface for remapping, and it knows how to write correct | |
3338 @samp{xmodmap} scripts. | |
3339 | |
3340 Most Linux and BSD distributions provide packages or ports. | |
3341 | |
3342 If you haven't tried XKeyCaps for your X11 keymapping problems, then | |
3343 you're wasting your time. It is highly unlikely that a human being will | |
3344 be able to give you as good advice as XKeyCaps will for most problems. | |
3345 Even XKeyCaps's author has forgotten the details of the X11 keyboard | |
3346 mechanism. There are a few problems it can't handle, but try it first. | |
3347 | |
3348 | |
3349 | |
3350 @node Q3.6.1, Q3.6.2, Q3.5.12, Customization | |
3326 @unnumberedsec 3.6: The Cursor | 3351 @unnumberedsec 3.6: The Cursor |
3327 @unnumberedsubsec Q3.6.1: Is there a way to make the bar cursor thicker? | 3352 @unnumberedsubsec Q3.6.1: Is there a way to make the bar cursor thicker? |
3328 | 3353 |
3329 I'd like to have the bar cursor a little thicker, as I tend to "lose" it | 3354 I'd like to have the bar cursor a little thicker, as I tend to "lose" it |
3330 often. | 3355 often. |