[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ERT indentation testing
From: |
martin rudalics |
Subject: |
Re: ERT indentation testing |
Date: |
Fri, 03 Jun 2011 14:12:24 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
> Using `find-file-noselect' will just make me select the buffer in ELisp
> instead of expecting it to become current. Is there any real reason to
> avoid `find-file'? Because of the prompts? I ask because I'm curious;
> I've already changed my patch to use (set-buffer (find-file-noselect...))
> but can't commit because the Bazaar repo is down.
`find-file' uses `switch-to-buffer' and `switch-to-buffer' should be
avoided in Elisp code.
> Also, if `find-file' should be avoided in ELisp generally, the docstring
> should say so, like it does for many other functions.
Indeed.
martin
- Re: ERT indentation testing, Ted Zlatanov, 2011/06/01
- Re: ERT indentation testing, Ted Zlatanov, 2011/06/02
- Re: ERT indentation testing, Stefan Monnier, 2011/06/02
- Re: ERT indentation testing, Ted Zlatanov, 2011/06/03
- Re: ERT indentation testing,
martin rudalics <=
- extra-interactive functions (was: ERT indentation testing), Ted Zlatanov, 2011/06/03
- Re: extra-interactive functions, martin rudalics, 2011/06/03
- Re: extra-interactive functions, Ted Zlatanov, 2011/06/03
- Re: extra-interactive functions, martin rudalics, 2011/06/03
- Re: extra-interactive functions, Ted Zlatanov, 2011/06/03
- Re: extra-interactive functions, martin rudalics, 2011/06/03
Re: ERT indentation testing, Ted Zlatanov, 2011/06/08