Re: w3

2005-08-25 Thread David Hansen
On Wed, 24 Aug 2005 22:34:28 -0400 Sean Sieger wrote: > I am assuming that whatever is wrong with my w3, > is pointed out by 'invalid-function...', but I > don't know where to start looking for answers. Not an answer to your question, but w3 isn't active developed anymore. For a nice emacs web b

Re: editing html - auto insert end tags

2005-08-20 Thread David Hansen
On Thu, 18 Aug 2005 09:16:14 +1000 Dave Humphries wrote: > I don't know of any auto-insert-end-tags function for any mode, however > nxml-mode (for editing xhtml) does have a key sequence C-cf for > entering closing tags and I would be surprised if the standard or > psgml-mode didn't have somethi

Re: How to uncomment Perl program in emacs?

2005-08-18 Thread David Hansen
On 18 Aug 2005 14:23:59 -0700 Andy wrote: > I am right now using GNU emacs 20.3.1 on solaris. At least in more recent versions of emacs M-; should work for commenting and uncommenting the region. David ___ Help-gnu-emacs mailing list Help-gnu-emacs@gnu

Re: Does Gnu Emacs support UTF-8 for Japanese?

2005-08-09 Thread David Hansen
On Tue, 09 Aug 2005 08:35:16 +0200 Pascal Bourguignon wrote: > "Ben Bullock" <[EMAIL PROTECTED]> writes: >> I had a problem with Gnu Emacs apparently not being able to cope with >> UTF 8 coding. After much frustration the answer I seemed to get is >> that Gnu Emacs doesn't support UTF 8 for Japane

Re: from irssi to ERC

2005-07-31 Thread David Hansen
On Sat, 30 Jul 2005 14:18:24 -0400 Angelina Carlton wrote: > Hi, I have used irssi for a long time and am accustomed to some of its > features but want to try erc. I need to know if it can do the following: > > 1. irc command history, if I type something in an irc buffer, either a >/command or

Re: How do you make code look pretty??

2005-07-27 Thread David Hansen
On Wed, 27 Jul 2005 19:40:21 +0200 Pascal Bourguignon wrote: > So, you need to write (at least a partial) parser for C in emacs lisp, > matching C statements and expressions, and reformating them. Probably reading the indent man page is enough... David ___

Re: emacs-w3m configs

2005-06-28 Thread David Hansen
On 28 Jun 2005 06:23:44 GMT Fabian Braennstroem wrote: > On 2005-06-27, Stefan Reichör <[EMAIL PROTECTED]> wrote: >> >> (require 'w3m-search) >> (add-to-list 'w3m-search-engine-alist >> '("emacs-wiki" >> "http://www.emacswiki.org/cgi-bin/wiki.pl?search=%s";)) >> (

Re: Simple elisp problem with equal

2005-04-26 Thread David Hansen
On Tue, 26 Apr 2005 16:35:42 -0700 (PDT) exits funnel wrote: > I want this: > > (equal system-type "gnu/linux") > > to evaluate to true but instead it evaluates to nil. > C-h v system-type indicates its value is "gnu/linux". `system-type' is a symbol not a string. (equal system-type 'gnu/linux)

Re: How to change the defualt indent style of java source file

2005-04-22 Thread David Hansen
On Fri, 22 Apr 2005 12:41:32 +0800 Xiangqian Liu wrote: > actually the style I expect is > public void helloWorld() > { > if(today.weather == find) > { > System.out.println("oh~ a fine day~"); > > } > } Does this help? (defun my-java-mode-hook () (c-set-style "k&r") (setq c-basic-

Re: Keep a dir at the top of load-path??

2005-04-21 Thread David Hansen
On Thu, 21 Apr 2005 21:38:52 -0400 [EMAIL PROTECTED] wrote: > I have built a handy .emacs that lets me run either Emacs or > XEmacs depending on my mood. > > The only problem is that I want to byte-compile my various .els > with one or the other. I want to specify an Emacs byte-compile > destinat

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

2005-04-21 Thread David Hansen
On Thu, 21 Apr 2005 22:17:11 +0200 David Hansen wrote: > (global-set-key "\M-," 'comment-region) Stupid me... should be (global-set-key "\M-," 'comment-dwim) David ___ Help-gnu-emacs mailing

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

2005-04-21 Thread David Hansen
On Thu, 21 Apr 2005 21:55:27 +0200 JS wrote: > I have just tried C-h k M-; and it gives me: > > > M-, runs the command tags-loop-continue [...] > On my keyboard I get ";" by pressing Shift-, > > If I try to press M-shift-, nothing happens. And with C-h k before "M-shift-," (Holding down Alt *a

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

2005-04-21 Thread David Hansen
On Thu, 21 Apr 2005 21:17:10 +0200 JS wrote: > M-; (Holding down my Alt key and ";") > > I get this error: > > No M-x tags-search or M-x tags-query-replace in progress Hmm... What says C-h k M-; ? David ___ Help-gnu-emacs mailing list Help-gnu-emacs@gn

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

2005-04-21 Thread David Hansen
On Thu, 21 Apr 2005 20:45:13 +0200 JS wrote: >> Which major mode are you talking about? For me M-; works fine in >> all major modes i use. See C-h k M-; > > hm nothing happens if I select some code and press M-. The selected area > disappears and in the tiny buffer in the buttom there is only th

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

2005-04-21 Thread David Hansen
On Thu, 21 Apr 2005 17:03:02 +0200 JS wrote: > When I want to uncomment someting I first need to press C-u followed by C-c > C-c but that is not very handy. Is it possible to reconfigure C-u C-c C-c > into ie.: > > C-c C-c C-v instead? Which major mode are you talking about? For me M-; works fin

Re: How to call spell checker from emacs?

2005-04-07 Thread David Hansen
On 7 Apr 05 04:52:26 GMT [EMAIL PROTECTED] wrote: > Is there documentation, other than the source code, how emacs calls > spell checker? Like, what data emacs sends to the spell checker and > what data it gets back. > > I need the info to call home-made Finnish spell checker from emacs. I suspect

Re: left brackets insert both

2005-03-26 Thread David Hansen
On 25 Mar 2005 08:45:27 -0800 Shug Boabby wrote: > excellent! i had found the exact setup once rgb had pointed me to the > function call, but cheers david! > > however, it is sometimes annoying that a single type of a bracket does > this... any chance i could set it only to work on double taps?

Re: left brackets insert both

2005-03-25 Thread David Hansen
On 25 Mar 2005 07:37:20 -0800 Shug Boabby wrote: > when the start of a brace pair was typed, one of [<[{(], the editor > would insert the corresponding closing brace and place the cursor > in-between. this worked for all text editing modes, but could be turned > off when needed. skeleton mod

Re: emacs as frontend for translate?

2005-03-19 Thread David Hansen
On Sat, 19 Mar 2005 21:28:29 +0100 Raimund Kohl-Fuechsle wrote: > I use "translate" a lot (Debian Sarge). Is there a way to use emacs as > a frontend for translate? >From my ~/.emacs: ding (defvar dh-ding-file-name "/usr/share/trans/de-en" "File name of the ding dictionary.") (when (fil

Re: Making Emacs more newbie friendly

2005-03-19 Thread David Hansen
On Sat, 19 Mar 2005 15:52:33 +0100 PT wrote: > By arrow keys I also mean text selection with shift+arrow keys, etc. It is > pretty standard in modern systems, so it should be turned on by default. This is no reason to remove the superior emacs key bindings. There is pretty much crap standard in

Re: Emacs NOT running on runlevel 3 ?!

2005-03-09 Thread David Hansen
On Wed, 09 Mar 2005 04:17:47 -0500 Jaeil Choi wrote: > I'm think about situations where we want to use Emacs in > emergencies to recover linux. > It's natural to be linked with Xlib, since we don't want to > use Emacs in text mode all the time. > > Then, the question is, do we have to keep another

Re: Emacs NOT running on runlevel 3 ?!

2005-03-09 Thread David Hansen
On Wed, 09 Mar 2005 02:04:40 -0500 Jaeil Choi wrote: > When it was executed with "-nw" command line option > on runlevel 3 of Fedora Core 3, > X11 dynamic library(!) camplains about undefined 'yKeycode'. > Do emacs really need X11 when it's executed with "-nw" option ? If it's linked against Xlib

Re: Global font lock mode in SGML files

2005-03-08 Thread David Hansen
On 8 Mar 2005 18:16:05 GMT Jens Kubieziel wrote: > I'm currently switching from vim to GNU Emacs (22.0.50.1) and want to > edit an SGML file > (http://user.cs.tu-berlin.de/~pdmef/mutt-ng/manual.sgml). Global font > lock mode is active, but when I reach line 48 (SGML tools will start > every paragr

Re: Indenting in C++ Mode

2005-03-01 Thread David Hansen
On Mon, 28 Feb 2005 10:39:53 -0500 Peter Rochford wrote: > How do I customize Emacs so that when editing a C++ file the > indentation of for loops, etc., will be 3 spaces instead of the > default of 2 spaces? (setq c-basic-offset 3) David ___ Help-gnu-

Re: Compiling Emacs with GTK

2005-02-26 Thread David Hansen
On Sat, 26 Feb 2005 17:05:43 +0100 nfreimann wrote: > David Hansen wrote: > >> >> >>Is it that difficult to ./configure --with-x-toolkit=gtk ? >> > David, imagine for a moment, that there are *some* users out there who > are not familiar with "C

Re: Compiling Emacs with GTK

2005-02-26 Thread David Hansen
On Sat, 26 Feb 2005 01:13:20 +0100 (CET) nfreimann wrote: > Why not supporting a binary cvs gtk2-emacs > for linux at ftp.gnu or sourceforge.net? Whats the > problem with that? Is it that difficult to ./configure --with-x-toolkit=gtk ? David ___ Help-g

Re: Changing $HOME

2005-02-23 Thread David Hansen
On Wed, 23 Feb 2005 23:34:17 + (UTC) Shug Boabby wrote: > i wish to change the definition of ~/ in the minibuffer. Setting $HOME before starting emacs should work. In bash: $ HOME=/Users/shug/GNU emacs David ___ Help-gnu-emacs mailing list Help-g

Re: How to input Unicode math operators

2005-02-22 Thread David Hansen
On Tue, 22 Feb 2005 02:14:58 +0100 August wrote: > How do I input Unicode mathematical operators (or any other arbitrary > unicode character) in Emacs? Using input methods. E.g. M-x set-input-method TeX RET \int d\varphi = 2\pi -> âdÏ = 2Ï David ___

Re: [Slightly OT] Small GNU Emacs lookalike, UTF-8-able

2005-02-14 Thread David Hansen
On Mon, 14 Feb 2005 23:27:30 +0100 David Hansen wrote: > Some link (couldn't find it now...) point's to a xemacs binary > too. But I never used one of them (apart from starting emacs > once). Forgot to say from where: http://www.lart.info/~bwachter/project

Re: [Slightly OT] Small GNU Emacs lookalike, UTF-8-able

2005-02-14 Thread David Hansen
On Mon, 14 Feb 2005 16:56:27 -0400 Leonardo Boiko wrote: > Thus I'm looking for a small-footprint Emacs clone. There's a dietlibc statically linked emacs (AFAIK linux only): http://wftp.tu-chemnitz.de/pub/linux/dietlinux/42/emacs-21.3 Some link (couldn't find it now...) point's to a xemacs bina