[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is it possible to set a "goal column" for 'beginning-of-line'?
From: |
Henrik Enberg |
Subject: |
Re: Is it possible to set a "goal column" for 'beginning-of-line'? |
Date: |
Tue, 22 Nov 2005 16:35:18 +0100 (CET) |
> From: "Herbert Euler" <herberteuler@hotmail.com>
> Date: Tue, 22 Nov 2005 20:50:53 +0800
>
> The command 'beginning-of-line' moves point to column 0
> by default. Is it possible to set a "goal column," so that
> this command moves point to that column, e.g. column 7,
> rather than 0? The content before such column will become
> irreachable in this situation (but it might still be displayed).
(goto-char (+ (line-beginning-position) 7))