unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Liu <sdl.web@gmail.com>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 18643@debbugs.gnu.org
Subject: bug#18643: 25.0.50; elisp--expect-function-p
Date: Fri, 10 Oct 2014 12:33:09 +0800	[thread overview]
Message-ID: <m3r3ygpmre.fsf@gmail.com> (raw)
In-Reply-To: <543758F8.2000207@yandex.ru> (Dmitry Gutov's message of "Fri, 10 Oct 2014 07:56:40 +0400")

On 2014-10-10 07:56 +0400, Dmitry Gutov wrote:
> It wouldn't be the worst approach, but we should be able to do better.
>
>> Also could we not force users to insert ` before any completion in
>> strings or comments.
>
> Please don't ignore the available information about why things work as
> they do currently. Have you looked at the revision that introduced
> that change? Do you have anything to add to the discussion in the
> related bug?

Sorry, I am merely reporting this as a usability bug and I don't intend
to get too deep into it (too little time :(). If I can work around it I
do that and get back to my work. For this bug I actually tried to get
used to it. I failed so I spoke up but not to blame any change.

You seem to be fairly confident on the approach chosen. Good and I look
forward to its improvements. Please be considerate on two things:

1. Leave room for other usage habits;

2. Rely less on heuristics. As also suggested by Stefan, do what he did
   with elisp--local-variables, i.e. code walk the expansion of the sexp
   and pick out the var/function postions/names. elisp--local-variables
   performs really well because it `guess' it right.

HTH,
Leo





  reply	other threads:[~2014-10-10  4:33 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-06  5:13 bug#18643: 25.0.50; elisp--expect-function-p Leo Liu
2014-10-09  2:50 ` Dmitry Gutov
2014-10-09  3:31   ` Leo Liu
2014-10-09  6:17     ` Dmitry Gutov
2014-10-09 15:27     ` Stefan Monnier
2014-10-09 23:43       ` Leo Liu
2014-10-10  1:16         ` Stefan Monnier
2014-10-10  4:07           ` Leo Liu
2014-10-10 13:25             ` Stefan Monnier
2014-10-10 20:53               ` Dmitry Gutov
2014-10-11  0:25                 ` Leo Liu
2014-10-11 13:48                   ` Stefan Monnier
2014-10-11 14:21                     ` Leo Liu
2014-10-14 18:32                       ` Stefan Monnier
2014-10-16  2:42                         ` Dmitry Gutov
2014-10-16 13:10                           ` Stefan Monnier
2014-10-11 13:47                 ` Stefan Monnier
2014-10-11 16:18                   ` Dmitry Gutov
2014-10-14 18:34                     ` Stefan Monnier
2014-10-16  2:35                       ` Dmitry Gutov
2014-10-16  3:36                         ` Leo Liu
2014-10-16  9:59                           ` Dmitry Gutov
2014-10-11  0:16               ` Leo Liu
2014-10-10  3:56         ` Dmitry Gutov
2014-10-10  4:33           ` Leo Liu [this message]
2014-10-11 16:31             ` Dmitry Gutov
2014-10-10  3:34       ` Dmitry Gutov
2014-10-10 13:20         ` Stefan Monnier
2014-10-11 17:07           ` Dmitry Gutov
2022-04-26 13:44 ` Lars Ingebrigtsen
2022-04-26 15:46   ` Leo Liu
2022-04-27 11:52     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r3ygpmre.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=18643@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).