Re: compilation, version control, was: cleaner tramp-aware bindings

2001-03-18 Thread Stefan Monnier
works for me, and seems even cleaner. (Except for the paren placement: being usually procedural I like starts and ends to line up :-) There are coding conventions in most/all languages. It's usually considered good practice to follow them, even if your habits disagree at first.

Re: compilation, version control, was: cleaner tramp-aware bindings

2001-03-18 Thread Skip Montanaro
Kai I just look at the indentation to see the structure. Seems like you'd like Python... ;-) S

Re: cleaner tramp-aware bindings

2001-03-16 Thread Stefan Monnier
"Daniel" == Daniel Pittman [EMAIL PROTECTED] writes: Point of view, really. rest accepts zero or more arguments, optional accepts zero or one. It makes little difference if you only ignore them. But since the argument is ignored and since no argument is passed when used interactively (since

compilation, version control, was: cleaner tramp-aware bindings

2001-03-16 Thread Tom_Roche
"Stefan Monnier" [EMAIL PROTECTED] 16 Mar 2001 09:50:19 -0500 (define-key global-map "\M-`" (lambda () "Use `tramp-compile' if in a tramp buffer, `compile' otherwise." (interactive) (call-interactively (if (tramp-tramp-file-p buffer-file-name)

Re: compilation, version control, was: cleaner tramp-aware bindings

2001-03-16 Thread Kai Großjohann
On Fri, 16 Mar 2001, Tom Roche wrote: works for me, and seems even cleaner. (Except for the paren placement: being usually procedural I like starts and ends to line up :-) I fail to see why people want to do this parens thing. Whoever looks at them? I just look at the indentation to see

cleaner tramp-aware bindings

2001-03-15 Thread Tom_Roche
Daniel Pittman [EMAIL PROTECTED] 6 Mar 2001 14:50:35 +1100 Try this for size, it /should/ work (with your key-binging, not mine :): (define-key global-map [(control f10)] (lambda (rest args) I _knew_ there was a better way than optional ... (interactive)