Sample Header Ad - 728x90

How to make joe editor start from the very first line on commits?

1 vote
1 answer
142 views
I upgraded the system (to openSUSE 15.3) and I noticed that now when I commit something using git or svn, when I am about to enter some comment (I set joe as editor) the caret is not placed at the very first line, but at the first comment made by git/svn. I don't like this behaviour, so how can I make joe to put caret in the first line? **Update** Git example. After issuing "git commit", editor is launched and I can add comment here. This is actual result (it is just the beginning of commit text):
|# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
And this is what I would expect (and it worked this way previously):
|
# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
"|" here denotes cursor/caret, it is not an actual character. The first line is an empty one. **Update 2** snv, again showing just begining. Actual behaviour:
|--This line, and those below, will be ignored--
Expected/previous behaviour:
|
--This line, and those below, will be ignored--
**Update 3**: I tested mcedit against both svn and git, in both cases I got behaviour as expected -- i.e. caret/cursor was placed in very first line. Ad I leave it this way (i.e. mcedit as editor) and today, after several successful commits, mcedit also shown the file with cursor/caret in the second line (so incorrectly).
Asked by greenoldman (6496 rep)
Jan 8, 2022, 03:31 PM
Last activity: May 16, 2024, 11:03 AM