all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Arthur Miller <arthur.miller@live.com>
Cc: Emacs-Devel List <emacs-devel@gnu.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Boruch Baum <boruch_baum@gmx.com>
Subject: Re: Friendlier dired experience [CODE INCLUDED]
Date: Thu, 5 Nov 2020 12:56:17 +0300	[thread overview]
Message-ID: <X6PMQciqAfGj59QX@protected.rcdrun.com> (raw)
In-Reply-To: <VI1PR06MB45269802E1DD19851ACCB70196EE0@VI1PR06MB4526.eurprd06.prod.outlook.com>

* Arthur Miller <arthur.miller@live.com> [2020-11-05 11:22]:
> I have skimmed through diredc (readme + code) but I haven't tried it.
> As far as I see, the only part I see worth putting directly in dired
> is maybe as you pointed out trash management. I don't use Sunrise nor
> any other `comander' Ranger clone; it is just not needed. I don't use
> trash folder either for that matter, but I can see there is not much of
> trash handling offered via Emacs, so maybe some users would prefer to
> have such functionality.

I am using trash functions, and it is very handy especially when
managing some critical files. Some system /etc/configurations may
remain as backup on server, and those are transferred to local Trash
now. It would not be handy to delete large video or image on remote
ssh/scp systems and that such files are transferred to local Trash, it
would consume bandwidth, so I just need to be careful with it.

Emacs trash system can use Freedesktop style trash or directory for
trash. I am using latter set to be ~/tmp/Trash and inside of directory
I have to place .dir-locals.el with following variables:

;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")

((dired-mode . ((delete-by-moving-to-trash . nil))))

That is easy done by doing {M-x add-dir-local-variable}, then choosing
dired-mode and variable `delete-by-moving-to-trash'. Why? Because if
variable is true then files in trash would not be deleted from Dired,
they would be renamed but not deleted. So deleting truly works only in
my trash directory.

Emacs does support trashing. So far so good.

> For me Helm does the most; dired is needed just sometimes, so it is nice
> if we can keep it lightweight. That said it does not mean that Emacs (or
> Elpa) can't include a file manager, I would just prefer to keep it
> separate from Dired.

I prefer using plain Dired for file management as I am using Emacs on many
computers and VPS-es. I do not know if that is harder or easier, I
have no idea. What I know is that it works well and I am efficient and
fast. It would generally disturb me to load some packages to give me
my familiarity. That is what I avoid. With many computers I would
waste time until I get all packages installed.

When I need some particular option during the session then I do:
{M-x local-set-key RET} then ' then I can set it for shell command
just like diredc proposed it, which is good idea to quickly open
shell. I just need to figure out how to invoke new shell buffer in the
directory where I am located. Package exist for that, but I want to be
fast in setting it up on plain Emacs from `local-set-key'

Diredc should improve shell choice, as Eli said, rather not from
/etc/passwd but at least from Emacs shell handlings.

From docstring for function `shell':

If a file ‘~/.emacs_SHELLNAME’ exists, or ‘~/.emacs.d/init_SHELLNAME.sh’,
it is given as initial input (but this may be lost, due to a timing
error, if the shell discards input when it starts up).

And there is more in the description how Emacs is choosing default
shell. Dash is not even a choice but is main shell on Debian
GNU/Linux.

Again I represent idea that shell list should be taken from
/etc/shells as it is system based list. And if such does not exist
then some default list from diredc, or any package choosing a
shell. 




  parent reply	other threads:[~2020-11-05  9:56 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 10:43 Friendlier dired experience [CODE INCLUDED] Boruch Baum
2020-11-03 10:54 ` Jean Louis
2020-11-03 11:15   ` Boruch Baum
2020-11-03 11:32     ` Joost Kremers
2020-11-03 12:22       ` Boruch Baum
2020-11-03 16:07     ` Jean Louis
2020-11-03 17:12       ` Boruch Baum
2020-11-03 19:31         ` Jean Louis
2020-11-03 21:13           ` Boruch Baum
2020-11-04  8:10             ` Jean Louis
2020-11-04  8:54               ` Boruch Baum
2020-11-04  9:57                 ` Jean Louis
2020-11-04 10:39                   ` Jean Louis
2020-11-04 13:17                     ` Boruch Baum
2020-11-04 15:32                       ` Joost Kremers
2020-11-04 15:58                         ` Stefan Monnier
2020-11-04 17:23                         ` Jean Louis
2020-11-04 17:15                       ` Jean Louis
2020-11-04 15:28                 ` Eli Zaretskii
2020-11-03 11:24   ` Boruch Baum
2020-11-03 15:10 ` Stefan Kangas
2020-11-03 16:10   ` Jean Louis
2020-11-03 17:16     ` Boruch Baum
2020-11-03 17:59       ` Michael Albinus
2020-11-03 19:10         ` Boruch Baum
2020-11-03 19:49           ` Jean Louis
2020-11-04  6:08             ` Pankaj Jangid
2020-11-04 19:57           ` Michael Albinus
2020-11-04 20:18             ` Yuri Khan
2020-11-04 20:29               ` Michael Albinus
2020-11-05  8:54             ` Boruch Baum
2020-11-05 10:11               ` Jean Louis
2020-11-05 13:31               ` Eli Zaretskii
2020-11-04 19:28       ` Stefan Kangas
2020-11-04 19:39         ` Boruch Baum
2020-11-05 15:00           ` Stefan Kangas
2020-11-06  9:34             ` Boruch Baum
2020-11-04 18:07 ` Stefan Monnier
2020-11-04 18:32   ` Boruch Baum
2020-11-04 18:55     ` Stefan Monnier
2020-11-05  8:05       ` Arthur Miller
2020-11-05  9:22         ` Boruch Baum
2020-11-05 12:54           ` Arthur Miller
2020-11-05 13:34             ` Jean Louis
2020-11-05 14:38             ` Boruch Baum
2020-11-05 15:05               ` Stefan Monnier
2020-11-05 15:34                 ` Arthur Miller
2020-11-05 15:45                   ` Stefan Monnier
2020-11-05 16:18                     ` Adam Porter
2020-11-05 17:02                       ` Stefan Monnier
2020-11-05 17:09                         ` Drew Adams
2020-11-05 17:08                       ` Drew Adams
2020-11-05 16:19                     ` Arthur Miller
2020-11-05 17:56                       ` Jean Louis
2020-11-05 17:08                     ` Drew Adams
2020-11-06  9:15                 ` Boruch Baum
2020-11-06 14:14                   ` Stefan Monnier
2020-11-06 16:28                   ` Drew Adams
2020-11-06 19:43                     ` Adam Porter
2020-11-06 20:24                       ` Drew Adams
2020-11-06 20:57                         ` Adam Porter
2020-11-07  0:30                           ` Daniel Martín
2020-11-08  9:36                     ` Boruch Baum
2020-11-08 12:09                       ` Arthur Miller
2020-11-08 12:40                         ` Boruch Baum
2020-11-08 13:37                           ` Jean Louis
2020-11-08 16:48                             ` Drew Adams
2020-11-08 18:26                               ` on hyperlinks (bookmarks) Jean Louis
2020-11-08 19:47                                 ` Drew Adams
2020-11-08 20:26                                   ` Jean Louis
2020-11-08 13:45                           ` Friendlier dired experience [CODE INCLUDED] Arthur Miller
2020-11-08 16:48                       ` Drew Adams
2020-11-08 17:37                         ` Boruch Baum
2020-11-08 19:24                           ` Drew Adams
2020-11-05 15:29               ` Arthur Miller
2020-11-05 16:25                 ` Adam Porter
2020-11-05 16:47                   ` Arthur Miller
2020-11-05 18:00                   ` Jean Louis
2020-11-05 18:56                     ` Adam Porter
2020-11-05 19:33                       ` Jean Louis
2020-11-06  4:55                     ` Arthur Miller
2020-11-06  9:49                 ` Boruch Baum
2020-11-06  9:42             ` Boruch Baum
2020-11-05 14:21           ` Stefan Monnier
2020-11-05  9:56         ` Jean Louis [this message]
2020-11-05 17:07         ` Drew Adams
2020-11-08 19:46         ` Juri Linkov
2020-11-08 19:50           ` Sv: " arthur miller
2020-11-09 22:45 ` Mathias Dahl
2020-11-09 23:20   ` Stefan Monnier
2020-11-10  0:05     ` Drew Adams
2020-11-10  2:31     ` T.V Raman
2020-11-10  6:47       ` Jean Louis
2020-11-11 19:23   ` Juri Linkov
  -- strict thread matches above, loose matches on Subject: below --
2020-11-04 17:28 Boruch Baum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=X6PMQciqAfGj59QX@protected.rcdrun.com \
    --to=bugs@gnu.support \
    --cc=arthur.miller@live.com \
    --cc=boruch_baum@gmx.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.