emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Selecting to end of line
@ 2008-07-08 19:55 Ted Roden
  2008-07-10 16:37 ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Ted Roden @ 2008-07-08 19:55 UTC (permalink / raw)
  To: Emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 461 bytes --]

Hi Everyone,

On the agenda screen, if I try to mark (using transient mark mode) and
select to the end of the line, it doesn't let me select the last character
on the line. If I select to the end of the line with a mouse, it works fine.

So to reproduce, 1) control-space 2) move cursor to end of line. It does not
select last character.  It works fine in the regular org-mode and everywhere
else, but not in the weekly agenda view.

Any thoughts?

Thanks,
Ted

[-- Attachment #1.2: Type: text/html, Size: 507 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Selecting to end of line
  2008-07-08 19:55 Selecting to end of line Ted Roden
@ 2008-07-10 16:37 ` Carsten Dominik
  2008-07-10 18:24   ` Paul R
  0 siblings, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2008-07-10 16:37 UTC (permalink / raw)
  To: Ted Roden; +Cc: Emacs-orgmode

Hi Ted, this is correct, the agenda does not allow to position the  
cursor
at the end of the line because of technical reasons.  So you need to  
work around this problem, for example by tripple-clicking the line  
with the mouse, or by selecting to the beginning of the next line with  
C-SPC down.

- Carsten

On Jul 8, 2008, at 12:55 PM, Ted Roden wrote:

> Hi Everyone,
>
> On the agenda screen, if I try to mark (using transient mark mode)  
> and select to the end of the line, it doesn't let me select the last  
> character on the line. If I select to the end of the line with a  
> mouse, it works fine.
>
> So to reproduce, 1) control-space 2) move cursor to end of line. It  
> does not select last character.  It works fine in the regular org- 
> mode and everywhere else, but not in the weekly agenda view.
>
> Any thoughts?
>
> Thanks,
> Ted
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Selecting to end of line
  2008-07-10 16:37 ` Carsten Dominik
@ 2008-07-10 18:24   ` Paul R
  2008-07-10 18:58     ` Carsten Dominik
  0 siblings, 1 reply; 4+ messages in thread
From: Paul R @ 2008-07-10 18:24 UTC (permalink / raw)
  To: Emacs-orgmode

On Thu, 10 Jul 2008 09:37:28 -0700, Carsten Dominik <dominik@uva.nl> said:

Carsten> Hi Ted, this is correct, the agenda does not allow to
Carsten> position the cursor at the end of the line because of
Carsten> technical reasons. So you need to work around this problem,
Carsten> for example by tripple-clicking the line with the mouse, or
Carsten> by selecting to the beginning of the next line with C-SPC
Carsten> down.

a space after the item title would work as well. I don't know what
causes this limitation, but as a quick and dirty workaround can't you
add automatically a space at the end of the string when rendering the
agenda ?

-- 
  Paul

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

* Re: Re: Selecting to end of line
  2008-07-10 18:24   ` Paul R
@ 2008-07-10 18:58     ` Carsten Dominik
  0 siblings, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-07-10 18:58 UTC (permalink / raw)
  To: Paul R; +Cc: Emacs-orgmode


On Jul 10, 2008, at 11:24 AM, Paul R wrote:

> On Thu, 10 Jul 2008 09:37:28 -0700, Carsten Dominik <dominik@uva.nl>  
> said:
>
> Carsten> Hi Ted, this is correct, the agenda does not allow to
> Carsten> position the cursor at the end of the line because of
> Carsten> technical reasons. So you need to work around this problem,
> Carsten> for example by tripple-clicking the line with the mouse, or
> Carsten> by selecting to the beginning of the next line with C-SPC
> Carsten> down.
>
> a space after the item title would work as well. I don't know what
> causes this limitation, but as a quick and dirty workaround can't you
> add automatically a space at the end of the string when rendering the
> agenda ?

The reason for this limitation is that many functions rely on text  
properties,
and I don't want to put some of those properties on the newline.  To  
be honest,
I don't exactly remember why, but I *do* remember that there were  
problems.
An extra space sounds like a promising solution, I'll look into it.

Thanks.

- Carsten

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

end of thread, other threads:[~2008-07-10 18:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-08 19:55 Selecting to end of line Ted Roden
2008-07-10 16:37 ` Carsten Dominik
2008-07-10 18:24   ` Paul R
2008-07-10 18:58     ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).