bugGNU nano - Bugs: bug #38600, poslog reset when opening files...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #38600: poslog reset when opening files via "insert" key binding

Submitter:  Craig Barnes <craigbarnes>
Submitted:  Tue 26 Mar 2013 10:43:44 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  astyanax Open/Closed:  Closed

Fri 12 Apr 2013 01:07:30 PM UTC, comment #3: 

Sorry, scratch that last comment. I had the poslog disabled. SVN version is working fine. Thanks for the help.

Craig Barnes <craigbarnes>
Fri 12 Apr 2013 01:00:48 PM UTC, comment #2: 

Hi Chris, thanks for the reply.

I've just checked again with SVN trunk and the problem still seems to occur for me.

$ src/nano -V
 GNU nano version 2.3.2-svn (compiled 13:49:30, Apr 12 2013)
 ...
 Compiled options: --enable-color --enable-extra --enable-multibuffer --enable-nanorc --enable-utf8


Is there anything else I can do to help debug?

Craig Barnes <craigbarnes>
Fri 12 Apr 2013 06:48:26 AM UTC, comment #1: 

Hello,

Thank you for the report!  I believe this should be fixed in
current trunk, and will be included in the next release.  I'm
going to set this to Fixed, but please let me know if you see any
issues with the fix as it exists now.  If you don't use SVN and
would like me a generate a tarball for testing, I can do that
also.

Chris Allegretta <astyanax>
Group administrator
Tue 26 Mar 2013 10:43:44 PM UTC, original submission:  

I've just noticed a small bug in the implementation of the --poslog feature.

To reproduce:

1. Add "set poslog" to ~/.nanorc
2. Open file1 in nano via command-line argument and scroll down
3. Do step 2 also for file2
4. Open file1 again and then, without exiting, open file2 via the
   "insert" command.
5. Notice that file2 is opened at the first line and has
   now lost it's stored poslog position.

It seems buffers opened via "insert" write to the poslog ok but fail to read it first.

Craig Barnes <craigbarnes>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Updated the item)
  • -email is unavailable- added by astyanax (Posted a comment)
  • -email is unavailable- added by craigbarnes (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-21 bens Open/ClosedOpen Closed
    2013-04-12 astyanax StatusNone Fixed
        Assigned toNone astyanax

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code