Minibuffer Language Selection Interface

2005-07-12 Thread Alan
hi, I'm running emacs 21.3.1 on a Solaris 10 box. Emacs has some kind of language selection interface that shares the minibuffer line on the right hand side, with choices for "English/European, Cyrillic, Greek ...". I've been using different versions of emacs for a few years now and I've never see

Re: Minibuffer Language Selection Interface

2005-07-14 Thread Alan
"setenv LC_ALL en_US" fixed it ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

How many parameters does an elisp function take?

2005-02-16 Thread Alan Mackenzie
amp;rest arguments. -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). ___ Help-gnu-emacs mailing list Help-gnu-emac

Re: How many parameters does an elisp function take?

2005-02-18 Thread Alan Mackenzie
found it to suffer from fewer problems than > other solutions. It's also faster. Good idea! Why is there not such a function in the Emacs core? It seems such an incredibly useful function, say for debuggers or code-analysers, or for the uses mentioned above. Did somebody just overloo

w32 <---ReflexionX---> Sun; How do I make ALT-TAB work locally?

2005-02-21 Thread Alan Mackenzie
seful. I don't know much about X, but it sounds like Emacs's keyboard settings are getting sent down the cable to the terminal program on MS-Windows, which then directs w32 to forward the ALT-TAB key sequence to Emacs. Would somebody help, please? -- Alan Mackenzie (Munich, Germany)

Re: indentation in c++

2005-03-05 Thread Alan Mackenzie
x27;s getting set to 2 there? If so, just change it. Otherwise put something like this into your .emacs: (defun prab-c++-hook () (setq c-basic-offset 3)) (add-hook 'c++-mode-hook 'prab-c++-hook) (_Don't_ forget the two quote marks in that last line.) > We have GNU emac

Re: INFORMAL SURVEY: blinking cursor

2005-03-08 Thread Alan Mackenzie
frames (or other Window system windows) on the screen at a time, the more things that flash, blink, move or explode, the worse it gets for me. That's why I run on console mode with no mouse and one frame, covering the entire screen, visible at a time. > please trim this .. > thi

INFORMAL SUMMARY OF INFORMAL SURVEY: blinking cursor

2005-03-13 Thread Alan Mackenzie
loved by some people, and equally hated by other people. 2: Once a user has found his favourite cursor setup, he never wants to change it. 3: gnu.emacs.help participants don't, on the whole, mind writing simple lisp into their .emacses. > thi -- Alan Mackenzie (Munich, Germany) Ema

Re: match-string debugging problem

2005-03-13 Thread Alan Wehmann
ax and also with XEmacs 21.4 (patch 15) "Security Through Obscurity" [Lucid] (sparc-sun-solaris2.8, Mule) of Fri Feb 11 2005 on gax When I put a breakpoint in Edebug after (match-string 1) I get the strings I expect to see. Also, a breakpoint after 'elt' in (insert elt " ") behaves as I would expect & not as you describe. -- Alan Wehmann wehmann(removespam)@fnal.gov ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: right alt key not bound to meta

2005-03-13 Thread Alan Mackenzie
lt key. I.e., you'd not have it for any other applications. Assuming you don't mind this, find your keyboard layout file, which will be somewhere like /etc/default.keyboard. There'll be a line like this in the file: keycode 100 = AltGr . Replace it with keycode 100 = Alt .

Re: Making Emacs more newbie friendly

2005-03-20 Thread Alan Mackenzie
Making it "newbie friendly" would be good only if it didn't make Emacs less good for experienced users. -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a

Re: Making Emacs more newbie friendly

2005-03-20 Thread Alan Mackenzie
s when I'm dealing with text - the mouse movements on the screen distract me too much from the text I'm dealing with. Thus I need Emacs's facility of being fully usable without the mouse. Is Eclipse also fully usable without a mouse? -- Alan Mackenzie (Munich, Germany) Email

Re: Making Emacs more newbie friendly

2005-03-21 Thread Alan Mackenzie
> Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. > Also see `automatic-hscrolling'. I think the man wants a horizontal scroll bar. I also have a sneaking suspicion you're aware of this, David. ;-) I think a horizontal scroll bar in Emacs would be popul

Re: Unusual C indentation conventions

2005-03-29 Thread Alan Mackenzie
though: Please do complain! If nobody complained about the things which annoy them, nothing would get fixed. ;-) [ ] -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, &

Re: Search through emacs' help?

2005-04-01 Thread Alan Mackenzie
t possible? Another useful trick, once you're in the Emacs manual, is `s'. The `s' command will search through the entire manual for the string (or it might be a regular expression) you give. > Thanks for advice > Sebastian -- Alan Mackenzie (Munich, Germany) Email: [EMA

Re: customize according to mode

2005-04-04 Thread Alan Mackenzie
eak ; gets you to the page where that function is ; defined C-s c-context- ; finds the actual definition. > Thanking You. All the best to yourself, too! > Purnank -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a r

Re: customize according to mode

2005-04-04 Thread Alan Mackenzie
Alan Mackenzie <[EMAIL PROTECTED]> wrote on Mon, 4 Apr 2005 17:37:43 +: > Purnank <[EMAIL PROTECTED]> wrote on Mon, 4 Apr 2005 11:35:58 > +0200: [ ] > Put the following into your .emacs: > (after-load "cc-mode" > '(define-key c-mode-base-map

Emacs CC Mode's auto-newline facility: INFORMAL SURVEY

2005-04-08 Thread Alan Mackenzie
in advance for your time. -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.o

Re: Emacs CC Mode's auto-newline facility: INFORMAL SURVEY

2005-04-12 Thread Alan Mackenzie
Vedat Hallac <[EMAIL PROTECTED]> wrote on Mon, 11 Apr 2005 07:22:18 +1000: > On Fri, 08 Apr 2005 19:58:01 +0000, Alan Mackenzie wrote: [ ] >> o How often do you use C-c C-a (or even C-c C-t) to toggle >> auto-newline mode? > Never in the last two years or so. Bu

Re: Emacs CC Mode's auto-newline facility: INFORMAL SURVEY

2005-04-12 Thread Alan Mackenzie
James <[EMAIL PROTECTED]> wrote on 11 Apr 2005 10:19:37 GMT: > In comp.lang.objective-c Alan Mackenzie <[EMAIL PROTECTED]> wrote: >> [Followup-To: gnu.emacs.help. Add your own group if you wish.] >> >> o Do you program with auto-newline switched on (e.g. do you g

Re: Substiotution of tabs with spaces...

2005-04-16 Thread Alan Mackenzie
Thank you very much. And the best of luck! -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). ___ Help-gnu-e

Re: How to change keys for uncomment (C-u C-c C-c)?

2005-04-22 Thread Alan Mackenzie
erhaps JS's newsreader (Knode) is "trying to be helpful" in pre-empting the possibility of the line being broken up by filling. > Note: I had to use normal ascii to be sure that the "backslash-space" > char above was displayed correctly. It is indeed only one ch

Re: Emacs CC Mode's auto-newline facility: INFORMAL SURVEY RESULTS

2005-04-24 Thread Alan Mackenzie
[Followup-To: set to gnu.emacs.help once again] In gnu.emacs.help Alan Mackenzie <[EMAIL PROTECTED]> wrote: > To help direct the development of CC Mode, it would be useful to find > out how people use the auto-newline "minor mode" facility. If you > could spare a litt

Re: block based selection

2005-04-28 Thread Alan Wehmann
t works > line based, but I need to select a rectangular region from within a text. > Can anyone help me with how to change the selection mode? > > Thanks > Uwe -- Alan Wehmann wehmann(nospam)@fnal.gov ___ Help-gnu-emacs mailing list Help-g

Re: beginner el form

2005-04-30 Thread Alan Wehmann
ideal. Perhaps it is an > "self-evaluating form" that I really need. > > Any suggestions or comments appreciate. > > -- Alan Wehmann wehmann(nospam)@fnal.gov ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Re: How to edit/modify patches using emacs?

2005-05-10 Thread Alan Mackenzie
of a source tree (~2270 source files in each :-(), then bringing the output up in diff-mode IMPRESSES onlookers. Thanks, Stefan! -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a&

Re: utf text console - control-g does not work any longer

2005-05-12 Thread Alan Mackenzie
Emacs doesn't allow for changing that! Where did you do the remapping? In your keyboard driver (e.g. /etc/default.keytab) or somewhere within Emacs. > This means, running commands can no longer be interrupted/aborted when I > use a utf-8 enabled Emacs/Gnus in a Linux text console. &g

Please help me with filling in (enhanced) text mode.

2005-05-13 Thread Alan Mackenzie
ches both of these regexps? Surely, setting things up for "simple" filling can't be that difficult? Somebody please tell me I'm missing something blindingly obvious, and what that thing is. Help! Thanks in advance! [*] In the Emacs manual: pages "Fill Prefix",

Re: Visit random info files?

2005-05-14 Thread Alan Mackenzie
truct me on how such > a function could be composed (or is there one already)? Maybe it's not quite what you're looking for, but C-u C-h i might do. It loads the file you tell it as an info file. > Ryan Bowman -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decod

Re: howw does work c-special-indent-hook, from cc-engine?

2005-05-18 Thread Alan Mackenzie
#x27;s c-gnu-impose-minimum) checks that certain lines of code are indented _at least_ one space. c-gnu-impose-minimum is in cc-align.el, and the setting of the hook is in cc-styles.el. Is there anything in particular which is causing problems? -- Alan Mackenzie (Munich, Germany) Email: [

Re: Emacs or XEmacs?

2005-05-23 Thread Alan Mackenzie
uld hardly be more different, given only that they're both free projects, and this has caused some friction between them. Either is better than any other editor. :-) -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like

Re: C comments change from emacs 20

2005-05-28 Thread Alan Mackenzie
he dump here. > Ken Goldman [EMAIL PROTECTED] 914-784-7646 -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). ___ He

Re: C comments change from emacs 20

2005-06-02 Thread Alan Mackenzie
kgold <[EMAIL PROTECTED]> wrote on 31 May 2005 17:40:30 GMT: > Alan Mackenzie <[EMAIL PROTECTED]> writes: >> kgold <[EMAIL PROTECTED]> wrote on 20 May 2005 13:19:27 GMT: >> > In C mode, the continuation line for comments after a blank line >> > doesn&

Re: Bug? in CC-Mode

2005-06-07 Thread Alan Mackenzie
sses the normal initialisation sequence. Would you please show us exactly how and where you're calling `c-set-style', so that we can fix the bug (or fix the documentation ;-). Thanks in advance! > Matthieu -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, w

Re: cc-mode question

2005-06-20 Thread Alan Mackenzie
k-mode enabled, and if so, how did you enable it? If answering these questions doesn't suggest the solution to the problem, could you do a C-c C-b (`c-submit-bug-report') and post the information which gets displayed. > /Evgeniy -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECT

Re: Does anyone use menus?

2005-06-20 Thread Alan Mackenzie
ght as well just leave out menus altogether, and save the effort for improved functionality. > Dmitriy -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). _

Re: cc-mode question

2005-06-25 Thread Alan Mackenzie
Evgeniy <[EMAIL PROTECTED]> wrote on Tue, 21 Jun 2005 19:07:54 +: > On Mon, Jun 20, 2005 at 06:08:07PM +0000, Alan Mackenzie wrote: >> Well, confirm to us that you've checked the obvious things: >> What operating system are you running? > $uname -a > Linux 2.6.1

Re: emacs for winXP

2005-07-18 Thread Alan Mackenzie
ht thing the next time you start Emacs. -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). ___ Help-gnu-emacs mailing list He

Re: defun not working

2005-07-20 Thread Alan Mackenzie
THANK YOU for this function! I've been doing this with the clumsy double sequence C-x 1, C-x 3 for years, and never quite consciously realised what a hassle this was. So, I've now put this into my .emacs with this key-binding: (global-set-key "\C-cv 'edo-vertical-to-horizont

Re: book recommendation

2005-07-24 Thread Alan Mackenzie
posted this article. > thanks All the best! -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them (leaving, say, "a"). ___ Help-gnu-emacs mailin

Re: marrying braket for ?: operator

2005-07-28 Thread Alan Mackenzie
;-) And thanks for printing your CC Mode configuration settings. Even though it turned out it wasn't relevant here, it's often very useful. -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half o

Re: marrying braket for ?: operator

2005-07-28 Thread Alan Mackenzie
Robert Marshall <[EMAIL PROTECTED]> wrote on Thu, 28 Jul 2005 21:06:20 +0100: > On Thu, 28 Jul 2005, Alan Mackenzie wrote: >> Baloff <[EMAIL PROTECTED]> wrote on 28 Jul 2005 15:20:51 +1000: >>> Hello >>> when I move my pointer to a braket, it highlight its

Re: using the cc mode

2005-07-30 Thread Alan Mackenzie
evel, too. You asked in another thread about making an "enum {" insert an auto-newline. I'll get back to you on that one. :-) [ ] -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (li

Re: marrying braket for ?: operator

2005-07-31 Thread Alan Mackenzie
pens a substatement block (block-close . c-snug-do-while)) , change "(brace-list-open)" to "(brace-list-open after)". Load this new file (M-x load-file), Then from a C++ buffer, do C-c . (that's "control-C dot"), check your new style has been loaded, an

Re: using the cc mode

2005-07-31 Thread Alan Mackenzie
Baloff <[EMAIL PROTECTED]> wrote on 31 Jul 2005 13:09:28 +1000: > Alan Mackenzie <[EMAIL PROTECTED]> writes: >> Baloff <[EMAIL PROTECTED]> wrote on 31 Jul 2005 05:29:34 +1000: >> > Hello >> A study which I earnestly urge you to embark upon. Lisp is a

Re: How to uncomment Perl program in emacs?

2005-08-19 Thread Alan Mackenzie
ter-load "perl-mode" '(define-key perl-mode-map "\C-c\C-c" 'comment-region)) (DON'T miss out the tick at the beginning of the second line. It's important.) That should set up your mode so that you can use C-c C-c for perl. Just one proviso: I'

Re: expand/collapse{} in c++

2005-08-24 Thread Alan Mackenzie
the current block (`hs-show-block'). `C-c @ C-c' Either hide or show the current block (`hs-toggle-hiding') [ ] > thanks -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROTECTED]; to decode, wherever there is a repeated letter (like "aa"), remove half of them

Re: comparing symbols coming from gensym?

2005-08-24 Thread Alan Mackenzie
om any other symbol which ever has been or ever will be. You asked for it, you got it! If you want to actually _use_ it, you'll need something like (symbol-value a) Look up `gensym' in the CL manual, and `intern' in the Elisp manual. -- Alan Mackenzie (Munic

Re: How to indent on LOCK(); macro???

2005-08-31 Thread Alan Mackenzie
ure just how complicated the indentation engine already is, take a glance at the function `c-guess-basic-syntax' in cc-engine.el.) The other thing is, do you really want your C++ code to look more like Pascal? ;-) > I'm running GNU Emacs 21.3.1. -- Alan Mackenzie (Munich, Germany) Emai

Re: How to indent on LOCK(); macro???

2005-08-31 Thread Alan Mackenzie
Roy Smith <[EMAIL PROTECTED]> wrote on Wed, 31 Aug 2005 08:31:33 -0400: > Alan Mackenzie <[EMAIL PROTECTED]> wrote: >> > How can I convince the indenting engine to treat the LOCK and END_LOCK >> > lines as beginning and ending blocks? >> Only with braces

Re: How to indent on LOCK(); macro???

2005-09-01 Thread Alan Mackenzie
Roy Smith <[EMAIL PROTECTED]> wrote on Wed, 31 Aug 2005 19:50:01 -0400: > In article <[EMAIL PROTECTED]>, Alan Mackenzie <[EMAIL PROTECTED]> wrote: >> And if you're not a Lisp hacker (or can't be bothered), say so, and I'll >> throw some code to

Re: Why does 'M-a' not move to the beginning of the sentence?

2005-09-07 Thread Alan Mackenzie
ght work for you: This is the standard value, which insists on 2 spaces after a sentence: "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*" This adaptation only needs one space. "[.?!][]\"')}]*\\($\\|\t\\| \\)[ \t\n]*" -- Alan Mackenzie (Munich, Germany) Email: [EMA

Re: color of parentheses, and face-foregrounds ?

2005-09-09 Thread Alan Mackenzie
any years ago by Kalle Niemitalo and it works very well indeed. If you're running Linux and you're interested, I could email you all the stuff - it would take a few hours study and work to get it running. [ ] > Mads Jensen -- Alan Mackenzie (Munich, Germany) Email: [EMAIL PROT