all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 18048@debbugs.gnu.org
Subject: bug#18048: 24.3.92; [patch] eldoc improvements
Date: Fri, 18 Jul 2014 23:07:18 -0400	[thread overview]
Message-ID: <jwvr41iyrp7.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87egxjxkxh.fsf@gmail.com> (Thierry Volpiatto's message of "Fri,  18 Jul 2014 07:46:26 +0200")

> (defun foo (&rest args)
>   "Eval each ARG in ARGS like setq"
>   [...])
> (put 'foo 'eldoc "([VAR VALUE]...)")

You can use

   (defun foo (&rest args)
     "Eval each ARG in ARGS like setq.

   (fn [VAR VALUE]...)"
     [...])

Instead.

> 2) Better handling of "..." in eldoc highlighting:
> Actually when using `setq', highlighting is correct when setting one
> symbol: 
> (setq foo 1)
> When cursor is on foo we have in eldoc: (setq ([SYM VAL]...))
>                                                ^^^^ 
> And when cursor is on 1 (setq ([SYM VAL]...))
>                                     ^^^^^^^
> When setting more than one symbol e.g
> (setq foo 1 bar 2)
> After 1 eldoc highlighting stay on second arg:
> (setq ([SYM VAL]...))
>             ^^^^^^^
> With this patch highlighting come back on first arg (SYM)

This part looks OK, feel free to install into trunk.


        Stefan





  reply	other threads:[~2014-07-19  3:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-18  5:46 bug#18048: 24.3.92; [patch] eldoc improvements Thierry Volpiatto
2014-07-19  3:07 ` Stefan Monnier [this message]
2014-07-19  5:25   ` Thierry Volpiatto
2014-07-19  5:46   ` Thierry Volpiatto
2014-07-19  8:11   ` Thierry Volpiatto
2014-07-19 17:01     ` Stefan Monnier
2014-07-21  7:24       ` Thierry Volpiatto
2014-08-18 19:32         ` Stefan Monnier
2014-08-19  5:39           ` Thierry Volpiatto
2014-09-04 14:50             ` Stefan Monnier
2014-07-21 12:27       ` Thierry Volpiatto
2014-07-21 15:13         ` Thierry Volpiatto
2014-07-22  6:16           ` Thierry Volpiatto

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

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

  git send-email \
    --in-reply-to=jwvr41iyrp7.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=18048@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.