unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: Elisp: Setting column position?
       [not found]       ` <gkqpk2$508$1@newsreader2.netcologne.de>
@ 2009-01-17 18:23         ` Xah Lee
  2009-01-17 18:29           ` Xah Lee
  2009-01-20 17:40           ` Ted Zlatanov
  0 siblings, 2 replies; 4+ messages in thread
From: Xah Lee @ 2009-01-17 18:23 UTC (permalink / raw)
  To: help-gnu-emacs

On Jan 16, 12:10 pm, Michael Schuerig <mich...@schuerig.de> wrote:
> Ted Zlatanov wrote:
> > On Thu, 15 Jan 2009 20:31:41 +0100 Michael Schuerig
> > <mich...@schuerig.de> wrote:
>
> > MS> Johan Bockgård wrote:
> >>> Michael Schuerig <mich...@schuerig.de> writes:
>
> >>>> Surprisingly, there doesn't seem to be a function to move the point
> >>>> to a specific column. What am I missing?
>
> >>> move-to-column
>
> > MS> Thanks, that does what I want. I have absolutely no idea why I
> > didn't MS> find it myself.
>
> > Well, you have goto-line and goto-char, but then there's
> > move-to-column
> > and move-to-window-line.  Not to mention jump-to-register.  I usually
> > end up doing M-x apropos no matter what.
>
> Yes, that's exactly what I did, repeatedly. Still, I didn't notice
> move-to-column.
>
> Michael
>
> --
> Michael Schuerig
> mailto:mich...@schuerig.dehttp://www.schuerig.de/michael/

On Jan 16, 11:12 am, Ted Zlatanov <t...@lifelogs.com> wrote:

i think there's something desired here...

i vaguely recall also wanted move-to-column, but i recall thought it
didn't exist. Yes of course i knew apropos, and elisp-index-search and
reasonably familiar with elisp and its manual.

I think it would be great that in the function's in-line doc, it would
say related functions. For example, if one looks up on goto-line, then
at the bottom it might say:

See also: goto-char, move-to-column, ...

I suggest this in a bug report #1119

http://groups.google.com/group/gnu.emacs.bug/browse_frm/thread/7fe3a26119ced00c/8fa912688d153b59

not sure what's the status...

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Elisp: Setting column position?
  2009-01-17 18:23         ` Elisp: Setting column position? Xah Lee
@ 2009-01-17 18:29           ` Xah Lee
  2009-01-20 17:40           ` Ted Zlatanov
  1 sibling, 0 replies; 4+ messages in thread
From: Xah Lee @ 2009-01-17 18:29 UTC (permalink / raw)
  To: help-gnu-emacs

On Jan 17, 10:23 am, Xah Lee <xah...@gmail.com> wrote:
> i think there's something desired here...
>
> i vaguely recall also wanted move-to-column, but i recall thought it
> didn't exist. Yes of course i knew apropos, and elisp-index-search and
> reasonably familiar with elisp and its manual.
>
> I think it would be great that in the function's in-line doc, it would
> say related functions. For example, if one looks up on goto-line, then
> at the bottom it might say:
>
> See also: goto-char, move-to-column, ...
>
> I suggest this in a bug report #1119
>
> http://groups.google.com/group/gnu.emacs.bug/browse_frm/thread/7fe3a2...
>
> not sure what's the status...

Note that listing related functions in a function's doc is in many
programing manuals. e.g Mathematica, MS's JScript, PHP ... they are
quite useful. Because for those not expert yet of a lang (which is
majority), often they do not know similar functions or do not know if
there's manual section that list such, and often are confused about
the differences of many functions that seems the same ....

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Elisp: Setting column position?
  2009-01-17 18:23         ` Elisp: Setting column position? Xah Lee
  2009-01-17 18:29           ` Xah Lee
@ 2009-01-20 17:40           ` Ted Zlatanov
  2009-01-20 17:46             ` Xah Lee
  1 sibling, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2009-01-20 17:40 UTC (permalink / raw)
  To: help-gnu-emacs

On Sat, 17 Jan 2009 10:23:23 -0800 (PST) Xah Lee <xahlee@gmail.com> wrote: 

XL> i vaguely recall also wanted move-to-column, but i recall thought it
XL> didn't exist. Yes of course i knew apropos, and elisp-index-search and
XL> reasonably familiar with elisp and its manual.

XL> I think it would be great that in the function's in-line doc, it would
XL> say related functions. For example, if one looks up on goto-line, then
XL> at the bottom it might say:

XL> See also: goto-char, move-to-column, ...

On Sat, 17 Jan 2009 10:29:45 -0800 (PST) Xah Lee <xahlee@gmail.com> wrote: 

XL> Note that listing related functions in a function's doc is in many
XL> programing manuals. e.g Mathematica, MS's JScript, PHP ... they are
XL> quite useful. Because for those not expert yet of a lang (which is
XL> majority), often they do not know similar functions or do not know if
XL> there's manual section that list such, and often are confused about
XL> the differences of many functions that seems the same ....

I agree this would be useful.  It's best done with tags IMO, rather than
explicitly listing the related functions.  For example, motion commands
should be tagged "motion" and then every command with that tag can
automatically list every motion command.  The key is that the extra work
is in classification, not in tediously listing every command's peers.

Tags I could use: motion, file, coding-system, menu, buffer, process

Each package should probably tag its commands with the package name.

Short tags are not always descriptive enough, but long tags get
unpleasantly verbose so the real art is in balancing between the two.

Anything more hierarchical than tags is painful to manage in the long run.

Ted


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Elisp: Setting column position?
  2009-01-20 17:40           ` Ted Zlatanov
@ 2009-01-20 17:46             ` Xah Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Xah Lee @ 2009-01-20 17:46 UTC (permalink / raw)
  To: help-gnu-emacs

On Jan 20, 9:40 am, Ted Zlatanov <t...@lifelogs.com> wrote:
> On Sat, 17 Jan 2009 10:23:23 -0800 (PST) Xah Lee <xah...@gmail.com> wrote:
>
> XL> i vaguely recall also wanted move-to-column, but i recall thought it
> XL> didn't exist. Yes of course i knew apropos, and elisp-index-search and
> XL> reasonably familiar with elisp and its manual.
>
> XL> I think it would be great that in the function's in-line doc, it would
> XL> say related functions. For example, if one looks up on goto-line, then
> XL> at the bottom it might say:
>
> XL> See also: goto-char, move-to-column, ...
>
> On Sat, 17 Jan 2009 10:29:45 -0800 (PST) Xah Lee <xah...@gmail.com> wrote:
>
> XL> Note that listing related functions in a function's doc is in many
> XL> programing manuals. e.g Mathematica, MS's JScript, PHP ... they are
> XL> quite useful. Because for those not expert yet of a lang (which is
> XL> majority), often they do not know similar functions or do not know if
> XL> there's manual section that list such, and often are confused about
> XL> the differences of many functions that seems the same ....
>
> I agree this would be useful.  It's best done with tags IMO, rather than
> explicitly listing the related functions.  For example, motion commands
> should be tagged "motion" and then every command with that tag can
> automatically list every motion command.  The key is that the extra work
> is in classification, not in tediously listing every command's peers.
>
> Tags I could use: motion, file, coding-system, menu, buffer, process
>
> Each package should probably tag its commands with the package name.
>
> Short tags are not always descriptive enough, but long tags get
> unpleasantly verbose so the real art is in balancing between the two.
>
> Anything more hierarchical than tags is painful to manage in the long run.
>
> Ted

can you send this suggestion to the emacs dev? :)

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-20 17:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <gkm28l$m42$1@newsreader2.netcologne.de>
     [not found] ` <yoijsknkii56.fsf@remote2.student.chalmers.se>
     [not found]   ` <gko2ut$6o4$1@newsreader2.netcologne.de>
     [not found]     ` <86mydrhxpk.fsf@lifelogs.com>
     [not found]       ` <gkqpk2$508$1@newsreader2.netcologne.de>
2009-01-17 18:23         ` Elisp: Setting column position? Xah Lee
2009-01-17 18:29           ` Xah Lee
2009-01-20 17:40           ` Ted Zlatanov
2009-01-20 17:46             ` Xah Lee

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).