Thread View: news.software.readers
3 messages
3 total messages
Started by Adam Funk
Tue, 05 Feb 2013 13:26
[slrn] cursor position in postpone "Save to:" field
Author: Adam Funk
Date: Tue, 05 Feb 2013 13:26
Date: Tue, 05 Feb 2013 13:26
18 lines
1744 bytes
1744 bytes
When I leave the editor and choose the option to postpone a message, the question asking for the filename comes up Save to: /home/adam/.slrn/postponed/ with the cursor on the "h". I'm pretty sure it used to come up at the end of the path --- a more useful place. Has anyone else noticed this? I'm using slrn 1.0.1, which I compiled myself about a month ago, so I'm willing (well, more than usual) to entertain the idea that I've set something wrong. -- Nam Sibbyllam quidem Cumis ego ipse oculis meis vidi in ampulla pendere, et cum illi pueri dicerent: beable beable beable; respondebat illa: doidy doidy doidy. [plorkwort]
Re: [slrn] cursor position in postpone "Save to:" field
Author: John E. Davis
Date: Tue, 05 Feb 2013 22:15
Date: Tue, 05 Feb 2013 22:15
29 lines
2151 bytes
2151 bytes
On Tue, 05 Feb 2013 13:26:13 +0000, Adam Funk <a24061@ducksburg.com>
wrote:
> When I leave the editor and choose the option to postpone a message,
> the question asking for the filename comes up
>
> Save to: /home/adam/.slrn/postponed/
>
> with the cursor on the "h". I'm pretty sure it used to come up at the
> end of the path --- a more useful place. Has anyone else noticed
> this?
Here is a simple patch:
diff --git a/src/post.c b/src/post.c
index 259f0ee..6715897 100644
--- a/src/post.c
+++ b/src/post.c
@@ -1908,7 +1908,7 @@ static int postpone_file (char *file) /*{{{*/
if (-1 == slrn_dircat (dir, NULL, dirfile, sizeof (dirfile)))
return -1;
- if (-1 == slrn_read_filename (_("Save to: "), NULL, dirfile, 1, 1))
+ if (-1 == slrn_read_filename (_("Save to: "), NULL, dirfile, 1, -1))
return -1;
status = slrn_file_exists (dirfile);
Thanks,
--John
Re: [slrn] cursor position in postpone "Save to:" field
Author: Adam Funk
Date: Wed, 06 Feb 2013 16:45
Date: Wed, 06 Feb 2013 16:45
22 lines
1852 bytes
1852 bytes
On 2013-02-05, John E. Davis wrote:
> On Tue, 05 Feb 2013 13:26:13 +0000, Adam Funk <a24061@ducksburg.com>
> wrote:
>> When I leave the editor and choose the option to postpone a message,
>> the question asking for the filename comes up
>>
>> Save to: /home/adam/.slrn/postponed/
>>
>> with the cursor on the "h". I'm pretty sure it used to come up at the
>> end of the path --- a more useful place. Has anyone else noticed
>> this?
>
> Here is a simple patch:
I picked it up with "git pull" followed by the build procedure.
Thanks!
--
The history of the world is the history of a privileged few.
--- Henry Miller
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads