editing problem

9 views
Skip to first unread message

lawquest

unread,
Nov 11, 2010, 11:49:26 PM11/11/10
to Note Taking Simplified
Recently (perhaps just today) I am having difficulty in editing old or
writing in new notes. The cursor does not seem to want to go to the
end of the line and stops a couple of letters before the end of the
last word. I can space past the problem, but then a letter is to the
right of the cursor as I type. Same is true with highlighting. I
can't highlight to the whole last word.

I tried changing the editor in rc but that didn't help. Until today
(or perhaps last couple of days) these were my rc settings:


### Edit settings
### editor: the full path to the external editor
### editcmd: the command for editing an old task, event or action
### using the following SUBSTITUTIONS:
### %(e)s -> editor
### %(n)s -> the line number to edit
### %(f)s -> the file name
editor = ''
editcmd = ''

They worked fine.

Today I tried changing them to:

editor = '''.usr/bin/medit'''
editcmd = '''%(e)s +%(n)s %(f)s'''

but that didn't help.

Any suggestions? Everything else, including wonderful etm, seems to
be working fine.

Dan Graham

unread,
Nov 12, 2010, 7:58:49 AM11/12/10
to Note Taking Simplified
John,

Are you using the latest version, 62?

Is this a problem with using the internal editor in the display panel
or using the external editor after pressing F5?

-Dan

lawquest

unread,
Nov 12, 2010, 9:08:43 AM11/12/10
to Note Taking Simplified
Thanks for the prompt response.

Yes. I am using version 62.

The problem is with the internal editor in the display panel. I have
not yet tried to use the F5 external editor.

john

Dan Graham

unread,
Nov 12, 2010, 9:45:35 AM11/12/10
to Note Taking Simplified
When you first activate the internal editor, say by double clicking a
note in the outline tree, the cursor should be placed in the display
panel and the left-hand border of the display panel should turn green.
Does this happen?

The first time you do something to modify the content of the note, say
by deleting a character, the left-hand border of the display panel
should turn orange to indicate that you have modified the content of
the note. Does this happen?

When you say that the cursor doesn't want to go to the end of the
line, do you mean that if the cursor is in a line and you repeatedly
press the right arrow key, that the cursor stops before the end of the
line and then doesn't move, or that it jumps to the next line without
ever reaching the end of the current line or what?

How does pressing the space bar help? It should just insert space
characters into the current position of the cursor and move the rest
of the current line further to the right. If you have selected
(highlighted) some text, say by holding down the shift key and
pressing the arrow key several times and then press the spacebar then
the selected text should be replaced by a space character.

Can you place the cursor at the end of a line that you couldn't reach
with the arrow key by using the mouse?

lawquest

unread,
Nov 12, 2010, 10:51:32 AM11/12/10
to Note Taking Simplified
Response interspersed below:

On Nov 12, 6:45 am, Dan Graham <dnlg...@gmail.com> wrote:
> When you first activate the internal editor, say by double clicking a
> note in the outline tree, the cursor should be placed in the display
> panel and the left-hand border of the display panel should turn green.
> Does this happen? YES
>
> The first time you do something to modify the content of the note, say
> by deleting a character, the left-hand border of the display panel
> should turn orange to indicate that you have modified the content of
> the note. Does this happen? YES
>
> When you say that the cursor doesn't want to go to the end of the
> line, do you mean that if the cursor is in a line and you repeatedly
> press the right arrow key, that the cursor stops before the end of the
> line and then doesn't move, or that it jumps to the next line without
> ever reaching the end of the current line or what? THE CURSOR STOPS RIGHT BEFORE THE LAST LETTER ON THE LAST LINE. IT WILL MOVE BACK AND UP BUT NOT FORWARD. IF I EDIT SOMETHING IN THE MIDDLE OF THE NOTE, IT PUTS THE LETTER TYPED TO THE RIGHT OF THE CURSOR AND STOPS TWO OR THREE LETTERS BEFORE THE END OF THE MIDDLE PARAGRAPH.
>
> How does pressing the space bar help? It should just insert space
> characters into the current position of the cursor and move the rest
> of the current line further to the right. If you have selected
> (highlighted) some text, say by holding down the shift key and
> pressing the arrow key several times and then press the spacebar then
> the selected text should be replaced by a space character. THE SPACE BAR SIMPLY MOVES THE CURSOR OVER THE TEXT WITHOUT DESTROYING THE TEXT. TYPING FROM THAT POINT IS POSSIBLE BUT THE NEW LETTERS ARE THREE OR FOUR SPACES TO THE RIGHT OF THE CURSOR. IF I HOLD THE SHIFT DOWN AND TRY TO HIGHLIGHT A WORD WITH THE ARROW KEY, IT INSERTS A RANDOM SPACE OR TWO, BUT DOES HIGHLIGHT. THE HIGHLIGHTED TEXT IS REPLACED BY A SPACE IF THE SPACE BAR IS PUSHED.
>
> Can you place the cursor at the end of a line that you couldn't reach
> with the arrow key by using the mouse? YES, UNLESS THERE IS A QUOTATION MARK AT THE END OF THE PARAGRAPH, THEN NO.

Dan Graham

unread,
Nov 12, 2010, 12:16:03 PM11/12/10
to Note Taking Simplified
I'm stumped. I can't duplicate any of this under linux (Ubuntu), os x
10.6, or Windows 7.

Would you post lines 3 and 4 from the help (F1) display?

Is anyone else having similar problems?

lawquest

unread,
Nov 12, 2010, 12:41:57 PM11/12/10
to Note Taking Simplified
"platform linux2; python 2.5.2; wx(Python) 2.8.9
docutils 0.5; markdown none; pandoc none "

I have been working on it too, trying to see a pattern. I just
noticed that nts seems to edit files with data I directly enter
without problem, and that the problems are in files where I have
copied quotations from another source. I am not sure of that yet, but
will post as I learn more.

john

Dan Graham

unread,
Nov 12, 2010, 2:42:50 PM11/12/10
to Note Taking Simplified
John,

What type of material are you copying and pasting? Could you give me
an example?

You really should think about updating wxPython which is now at 2.8.11
and is much improved from the version you have.

I would also recommend updating python to 2.7.

-Dan

lawquest

unread,
Nov 12, 2010, 3:36:06 PM11/12/10
to Note Taking Simplified
Good idea. I will try that. Also, I had something like the same
problem on google.docs just a minute ago, so even thought etm works
great as usual, the problem is probably some where on my end. I will
let you know what I find out. Meanwhile, just ignore this thread.

BTW, I am MOST looking forward to some nts videos.

John

Dan Graham

unread,
Nov 12, 2010, 3:48:24 PM11/12/10
to Note Taking Simplified
There is an nts video on the web page now.

lawquest

unread,
Nov 13, 2010, 5:13:12 PM11/13/10
to Note Taking Simplified
Thanks for reminding me of the video. It is great. I may have looked
at it before, but if so, looking at it now, after some considerable
use of nts, was most helpful. I was able to get cntrl-h to work, by
changing markup from md to rst in rc. And F5, by fixing the path to
medit. The video also gave me a much better understanding of the way
tags can be used. The unicode conversion worked, though I am not sure
what use I would put it to.

I have been using nts all day without a recurrence of the cursor
problem, which I address at the start of this thread. I would mark
this thread "solved," if I knew how to change the title, to avoid
wasting the readers time. In any event, I apologize for it. Perhaps
you can just delete it. I don't know yet what "solved" the problem.
Probably just the reboot. But perhaps changing the markup had
something to do with it. I will let the group know if I find out.

John

lawquest

unread,
Nov 14, 2010, 5:26:38 PM11/14/10
to Note Taking Simplified
In light of the recommendation that I update python and wxpython, I
have been looking around for slackware updates. The python and
wxpython versions I have been using are the latest available in the
Vector repositories. I am reluctant to try a source install. Unless I
again receive the cursor problems referenced at the beginning of this
thread, I will plan to just wait until Vector updates its
repositories.

lawquest

unread,
Jan 13, 2011, 3:33:58 AM1/13/11
to Note Taking Simplified
I am still frustrated by the editing problem. I pass this along in
case it might help. It does not seem to matter what I put in the
"editor" section. medit. gedit. leafpad. I now have medit but if I
blank it out (### editor = '''/usr/bin/medit") it still works and it
still does the same thing (periodically puts the cursor one letter
before the end of the sentence). Seems to me it should not work at
all if I blank out the editor.

I don't have two rcs in .nts.

john

### Edit settings
### editor: the full path to the editor to use for editing with the
### graphic user interface.
### E.g., editor = "/usr/local/bin/vim"
### editcmd: the command for editing with the graphic user interface
### using the following SUBSTITUTIONS:
### %(e)s -> editor
### %(n)s -> the starting line number
### %(f)s -> the file name
### E.g., editcmd = "%(e)s -g -f +%(n)s %(f)s"
editor = '''/usr/bin/medit'''
editcmd = '''%(e)s +%(n)s %(f)s'''

Dan

unread,
Jan 13, 2011, 11:08:58 AM1/13/11
to notetaking...@googlegroups.com
John,

The editor setting should have no effect unless you use the external editor (by pressing F5 with a note selected). What happens, by the way, if you do invoke the external editor on a note that is displaying the problem in the internal editor?

Is the note which gives rise to the problem one in which you have pasted text? If so, what sort of material are you pasting, a selection from a pdf file, html or what? When you paste the selection, the cursor should appear at the end of the pasted selection. Does this happen?

Could you duplicate the problem with a note and, if appropriate, the source from which the pasted material is taken that you could email me, i.e., one that does not contain any sensitive or private material?

-Dan

lawquest

unread,
Jan 13, 2011, 12:00:08 PM1/13/11
to Note Taking Simplified


On Jan 13, 8:08 am, Dan <dnlg...@gmail.com> wrote:
> John,
>
> The editor setting should have no effect unless you use the external editor
> (by pressing F5 with a note selected). What happens, by the way, if you do
> invoke the external editor on a note that is displaying the problem in the
> internal editor?
It opens up in medit. Actually opens the selected note and a blank
note called "+1." That works fine. I just don't like the hassle much
(also have to select "wrap text" once medit is open).
>
> Is the note which gives rise to the problem one in which you have pasted
> text?

Yes.

If so, what sort of material are you pasting, a selection from a pdf
> file, html or what?

10 or 15 lines from various cases found on google scholar. However,
the problem appears when I type in text.

When you paste the selection, the cursor should appear
> at the end of the pasted selection. Does this happen?

Yes.
>
> Could you duplicate the problem with a note and, if appropriate, the source
> from which the pasted material is taken that you could email me, i.e., one
> that does not contain any sensitive or private material?

I will but not today (have oral argument in a few hours). I am using
nts to prepare. I will F5 it for now.

Thanks

John
>
> -Dan

lawquest

unread,
Jan 13, 2011, 12:04:38 PM1/13/11
to Note Taking Simplified
Switching to gedit solved the "wrap text" problem.

Dan

unread,
Jan 13, 2011, 2:13:03 PM1/13/11
to notetaking...@googlegroups.com
John,

I did a search on google scholar under legal opinions and journals for adverse possession (a favorite topic) and cut and pasted from many sources using Firefox without adverse result. ;-) What browser are you using?

-Dan

lawquest

unread,
Jan 13, 2011, 2:39:10 PM1/13/11
to Note Taking Simplified
I generally use Seamonkey but some sites require firefox. Often I
don't really pay attention to which one I am using. Say about 60%
Seamonkey and 40% firefox.

john
Reply all
Reply to author
Forward
0 new messages