edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [edbrowse-dev] interdirectory moves, and indent
@ 2020-07-14 16:49 Karl Dahlke
  0 siblings, 0 replies; 2+ messages in thread
From: Karl Dahlke @ 2020-07-14 16:49 UTC (permalink / raw)
  To: edbrowse-dev

[-- Attachment #1: Type: text/plain, Size: 2015 bytes --]

Folks, this is too long to send over irc, so I hope you are all subscribed.

The last push is the start of my move command, files from one directory to another.
It is m, just like move in the editor, but it doesn't reorder the lines, and why would you, as soon as you refresh they are back in the order they were in before.
It's not something you should manually change.
Remember the sort commands if you want your listing in something other than alphabetical.
So I don't mind overloading the m operator.

In directory mode, .m3 moves the current file to the directory in session 3.
That session has to be active and has to have a directory.
If the directory is on another file system edbrowse will copy and delete.
I don't "copy" special files or directory trees; those have to move on the same file system.

The file disappears from your current buffer, as it should, but does not yet appear in the other buffer.
I'll do that eventually but it's harder than it first seems.
So if or when you switch to session 3, you have to type rf to see the files.

There are more prints on what is going on when you move files, delete files, or move to your trash can.
These are at debug level 1 or higher.     hth

Pull, and play around with it.

Just before push, I usually use the indenting program in tools/Lindent, to keep the code pretty.
It does it's thing and then I push.
Ok fine, but when I ran this on buffers.c it screwed up a bunch of my block comments.
Yes I'm on a different machine, different distro, different version of indent, but what is the problem?
Spent a couple hours on this.
I whittled it down to a smaller example that illustrates the bug and sent it to
bug-indent@gnu.org
We'll see what they have to say.
Meantime, I either can't use indent, or have to go back to an older version of indent,
or have to manage the indenting manually, all of these being unpleasant.
Probably none of you fiddle with edbrowse code any more,
but if any of you do, this is a heads up.

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [edbrowse-dev] interdirectory moves, and indent
@ 2020-07-19  5:06 Kevin Carhart
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Carhart @ 2020-07-19  5:06 UTC (permalink / raw)
  To: Edbrowse-dev


> Probably none of you fiddle with edbrowse code any more,
> but if any of you do, this is a heads up.

I actually have been trying to get nasa.gov back recently.  It might have 
something to do with nonprinting characters that occur in strings 
in vendor.js.  I think vendor.js may have been changed since the times 
when we got nasa.gov working.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-19  5:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-14 16:49 [edbrowse-dev] interdirectory moves, and indent Karl Dahlke
2020-07-19  5:06 Kevin Carhart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).