Re: dired mode behaviour

Charles Gordon <[email protected]> Tue, 4 Apr 2017 16:09:39 +0200
Newsgroups gmane.editors.qemacs.devel
Message-ID <[email protected]>
--===============1945147085579377252==
Content-Type: multipart/alternative;
 boundary="Apple-Mail=_F865BBF4-DB58-4373-8645-14509D553A5D"


--Apple-Mail=_F865BBF4-DB58-4373-8645-14509D553A5D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 4 Apr 2017, at 14:46, Hadrien Lacour <[email protected]> =
wrote:
>=20
> Hello again,
>=20
> I usually use ranger instead of dired to naviguate, but since C-c C-f =
doesn't
> have completion, I've started using it. When opening the dired panel =
and
> choosing a file, the scrolling changes: moving down one line scrolls =
one line,
> even at the beginning of the screen. This behaviour stays even after =
closing
> the panel via C-x 0

Hi Hadrien,

Sorry for the lack of documentation, here are the explanations:

C-c C-f is bound to load-config-file(filename).  It searches for a file =
in the load-path where configuration files are loaded from.
It can be used to load the ~/.qe/config file from anywhere and I also =
use it to load files from my scripts directory without having to specify =
the exact path
I intend to add completion to the command, but it requires some tweaking =
as the matches do not necessarily share a common prefix.

Why do you not want completion?  It mostly the behavior of the space bar =
that is a problem?

The curious behavior on navigation from the dired pane is called =
preview-mode: the cursor movement commands cause scrolling instead of =
moving the current point.

You can exit this mode with the Enter key.

I use it to navigate efficiently with the keyboard :
- the right key in the dired pane switches to the file buffer
- the left key in preview mode at the start of a line switches back to =
the dired pane
- the up and down keys scroll the window contents for reading the fiel =
contents.
- when a different file is viewed, the preview buffer is discarded.

Multi-pane dired mode is bound to C-x C-d

What is ranger? Probably not this one: =
http://www.frc.ri.cmu.edu/~alonzo/projects/ranger/ranger.html =
<http://www.frc.ri.cmu.edu/~alonzo/projects/ranger/ranger.html>

More likely this: http://ranger.nongnu.org/ <http://ranger.nongnu.org/> =20=


I have never used it, I will look into it and see what I can include in =
terms of ergonomics.

Thanks for your feedback.

Chqrlie.


--Apple-Mail=_F865BBF4-DB58-4373-8645-14509D553A5D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">On 4 Apr 2017, at 14:46, Hadrien Lacour &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">Hello =
again,<br class=3D""><br class=3D"">I usually use ranger instead of =
dired to naviguate, but since C-c C-f doesn't<br class=3D"">have =
completion, I've started using it. When opening the dired panel and<br =
class=3D"">choosing a file, the scrolling changes: moving down one line =
scrolls one line,<br class=3D"">even at the beginning of the screen. =
This behaviour stays even after closing<br class=3D"">the panel via C-x =
0<br class=3D""></div></div></blockquote></div><br class=3D""><div =
class=3D"">Hi Hadrien,</div><div class=3D""><br class=3D""></div><div =
class=3D"">Sorry for the lack of documentation, here are the =
explanations:</div><div class=3D""><br class=3D""></div><div =
class=3D"">C-c C-f is bound to load-config-file(filename). &nbsp;It =
searches for a file in the load-path where configuration files are =
loaded from.</div><div class=3D"">It can be used to load the =
~/.qe/config file from anywhere and I also use it to load files from my =
scripts directory without having to specify the exact path</div><div =
class=3D"">I intend to add completion to the command, but it requires =
some tweaking as the matches do not necessarily share a common =
prefix.</div><div class=3D""><br class=3D""></div><div class=3D"">Why do =
you not want completion? &nbsp;It mostly the behavior of the space bar =
that is a problem?</div><div class=3D""><br class=3D""></div><div =
class=3D"">The curious behavior on navigation from the dired pane is =
called preview-mode: the cursor movement commands cause scrolling =
instead of moving the current point.</div><div class=3D""><br =
class=3D""></div><div class=3D"">You can exit this mode with the Enter =
key.</div><div class=3D""><br class=3D""></div><div class=3D"">I use it =
to navigate efficiently with the keyboard :</div><div class=3D"">- the =
right key in the dired pane switches to the file buffer</div><div =
class=3D"">- the left key in preview mode at the start of a line =
switches back to the dired pane</div><div class=3D"">- the up and down =
keys scroll the window contents for reading the fiel contents.</div><div =
class=3D"">- when a different file is viewed, the preview buffer is =
discarded.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Multi-pane dired mode is bound to C-x C-d</div><div =
class=3D""><br class=3D""></div><div class=3D"">What is ranger? Probably =
not this one:&nbsp;<a =
href=3D"http://www.frc.ri.cmu.edu/~alonzo/projects/ranger/ranger.html" =
class=3D"">http://www.frc.ri.cmu.edu/~alonzo/projects/ranger/ranger.html</=
a></div><div class=3D""><br class=3D""></div><div class=3D"">More likely =
this:&nbsp;<a href=3D"http://ranger.nongnu.org/" =
class=3D"">http://ranger.nongnu.org/</a>&nbsp;&nbsp;</div><div =
class=3D""><br class=3D""></div><div class=3D"">I have never used it, I =
will look into it and see what I can include in terms of =
ergonomics.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thanks for your feedback.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Chqrlie.</div><div class=3D""><br =
class=3D""></div></body></html>=

--Apple-Mail=_F865BBF4-DB58-4373-8645-14509D553A5D--


--===============1945147085579377252==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Qemacs-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/qemacs-devel

--===============1945147085579377252==--