unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* beginning-of-line with toggle-truncate-lines
@ 2020-05-18  2:27 edgar
  2020-05-18  2:34 ` edgar
  0 siblings, 1 reply; 4+ messages in thread
From: edgar @ 2020-05-18  2:27 UTC (permalink / raw)
  To: help-gnu-emacs

Hello. I am trying to move to the visual beginning-of-line. If I set 
toggle-truncate-lines, I get something which *looks* like a paragraph, 
instead of a chopped line. For example:

   My text is chopped in the middle
   of the text like this %%

without toggle-truncate-lines, I would have to scroll past the end of 
the screen. I will now use |·| as the indicator for my point. If I hit 
C-a, when I am here:

   My text is chopped in the middle
   of the text like this %%|·|

My point goes to the real beginning of the line (which looks like a 
paragraph on my screen).

   |·|My text is chopped in the middle
   of the text like this %%

I want to know if there is a command to go to the visual beginning of 
the line:

   My text is chopped in the middle
   |·|of the text like this %%


Thanks!

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



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

* Re: beginning-of-line with toggle-truncate-lines
  2020-05-18  2:27 beginning-of-line with toggle-truncate-lines edgar
@ 2020-05-18  2:34 ` edgar
  2020-05-18 16:31   ` Dmitry Alexandrov
  0 siblings, 1 reply; 4+ messages in thread
From: edgar @ 2020-05-18  2:34 UTC (permalink / raw)
  To: help-gnu-emacs

On 2020-05-18 02:27, edgar@openmail.cc wrote:
> Hello. I am trying to move to the visual beginning-of-line. If I set
> toggle-truncate-lines, I get something which *looks* like a paragraph,
> instead of a chopped line. For example:
> 
>   My text is chopped in the middle
>   of the text like this %%
> 
> without toggle-truncate-lines, I would have to scroll past the end of
> the screen. I will now use |·| as the indicator for my point. If I hit
> C-a, when I am here:
> 
>   My text is chopped in the middle
>   of the text like this %%|·|
> 
> My point goes to the real beginning of the line (which looks like a
> paragraph on my screen).
> 
>   |·|My text is chopped in the middle
>   of the text like this %%
> 
> I want to know if there is a command to go to the visual beginning of 
> the line:
> 
>   My text is chopped in the middle
>   |·|of the text like this %%
> 
> 
> Thanks!

Sorry! Of course there is a way to do that:
<home> runs the command beginning-of-visual-line

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



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

* Re: beginning-of-line with toggle-truncate-lines
  2020-05-18  2:34 ` edgar
@ 2020-05-18 16:31   ` Dmitry Alexandrov
  2020-05-24  0:57     ` edgar
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Alexandrov @ 2020-05-18 16:31 UTC (permalink / raw)
  To: edgar; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 585 bytes --]

edgar@openmail.cc wrote:
> On 2020-05-18 02:27, edgar@openmail.cc wrote:
>> I want to know if there is a command to go to the visual beginning of the line:
>>
>>   My text is chopped in the middle
>>   |·|of the text like this %%
>
> Sorry! Of course there is a way to do that: <home> runs the command beginning-of-visual-line

No, it actually does not, at least globally.  Though there may be some major mode, where are C-a and <home> indeed acts differently by default, I do not remember.

In any case, may it be, that M-x visual-lines-mode is what you are looking for?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* Re: beginning-of-line with toggle-truncate-lines
  2020-05-18 16:31   ` Dmitry Alexandrov
@ 2020-05-24  0:57     ` edgar
  0 siblings, 0 replies; 4+ messages in thread
From: edgar @ 2020-05-24  0:57 UTC (permalink / raw)
  To: Dmitry Alexandrov; +Cc: help-gnu-emacs

> No, it actually does not, at least globally

Thanks. That's useful.

> 
> In any case, may it be, that M-x visual-lines-mode is what you are 
> looking for?

I am using that, actually. Thank you!

-------------------------------------------------
This free account was provided by VFEmail.net - report spam to abuse@vfemail.net
 
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  



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

end of thread, other threads:[~2020-05-24  0:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-18  2:27 beginning-of-line with toggle-truncate-lines edgar
2020-05-18  2:34 ` edgar
2020-05-18 16:31   ` Dmitry Alexandrov
2020-05-24  0:57     ` edgar

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