[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Usability suggestion : completion for M-:
From: |
Stefan Monnier |
Subject: |
Re: Usability suggestion : completion for M-: |
Date: |
Mon, 17 Mar 2008 09:32:44 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> - if the indentation code always makes changes (e.g. because it cycles
>> through several possible indentation points), then completion is
>> never used.
> Can you post the code ? I have a similar setup, but I can't remember
> running into that particular problem before.
Because you don't use code written in languages where indentation is
significant, maybe? (e.g. Haskell and Python)
> The biggest issue I noticed with overloaded commands is that Emacs
> commands will inspect this-command. An overloaded command
> needs to adjust these sorts of variables so other code isn't adversely
> affected. Some parts of Emacs definitely don't appreciate the current
> command being a lambda either.
That's just a minor implementation issue, which wouldn't both us, since
we have control over the rest of the code as well.
>> - if the completion code only gets called when you repeat TAB, then
>> well... you have to repeat TAB to get to completion.
>> - if not, then you get surprising results when you do TAB C-n TAB C-n
>> ... intending to reindent a chunk of code and once of the lines
>> happens to be properly indented already and you end up
>> completing instead.
>>
>> So it's not a satisfactory solution.
> I definitely have a different implementation that sounds more robust.
> I hit tab repeatedly and the result is always the same in regards to
> the behavior selected.
What's the behavior? When does it indent and when does it complete?
Stefan
- Re: Usability suggestion : completion for M-:, (continued)
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/16
- RE: Usability suggestion : completion for M-:, Drew Adams, 2008/03/16
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/16
- Re: Usability suggestion : completion for M-:, Bastien, 2008/03/16
- Re: Usability suggestion : completion for M-:, David De La Harpe Golden, 2008/03/16
- Re: Usability suggestion : completion for M-:, Stefan Monnier, 2008/03/16
- Re: Usability suggestion : completion for M-:, Mike Mattie, 2008/03/17
- Re: Usability suggestion : completion for M-:,
Stefan Monnier <=
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/17
- Re: Usability suggestion : completion for M-:, Richard Stallman, 2008/03/17
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/18
- Re: Usability suggestion : completion for M-:, Richard Stallman, 2008/03/18
- Re: Usability suggestion : completion for M-:, Stefan Monnier, 2008/03/19
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/19
- Re: Usability suggestion : completion for M-:, Andreas Schwab, 2008/03/19
- Re: Usability suggestion : completion for M-:, paul r, 2008/03/16
- Re: Usability suggestion : completion for M-:, Lennart Borgman (gmail), 2008/03/16
- RE: Usability suggestion : completion for M-:, Drew Adams, 2008/03/16