jed-users mailing list

[2018 Date Index] [2018 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [jed-users] Only edit original file


Parke <parke.nexus@xxxxxxxxx> wrote:

>> Is there a switch/parameter/etc which tells jed, not to open backup
>> files when called with a wildcard at the end?

> I believe your shell (and not Jed) expands the wildcard.

Yes, you're right. "a*" was expanded to "abc" and "abc~" and jed was
called as "jed abc abc~".

> So Jed cannot tell whether or not it was called with a wildcard.

Jed opens all files it is called with in buffers and shows the last
buffer first. As I didn't expect more than one file in the buffers,
I payed no attention to in which buffer I am.

> So I expect the answer to your question is: there is no such switch.

> You could try: jed `ls -B *`

Jed still opens both files here. But this is no problem. I know the
reason now and select the right buffer first before editing.

Thank you for your help :-)
Martin
_______________________________________________
For list information, visit <http://jedsoft.org/jed/mailinglists.html>.


[2018 date index] [2018 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]