|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#29036: closed (26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line) |
Date: | Sun, 29 Sep 2019 00:40:01 +0000 |
Your message dated Sun, 29 Sep 2019 02:39:21 +0200 with message-id <address@hidden> and subject line Re: bug#29036: 26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line has caused the debbugs.gnu.org bug report #29036, regarding 26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line to be marked as done. (If you believe you have received this mail in error, please contact address@hidden.) -- 29036: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29036 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: 26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line Date: Sat, 28 Oct 2017 11:30:27 +0800 Hi list,I got no answer on stack-exchange for emacs (https://emacs.stackexchange.com/questions/36434/make-emacs-recenter-the-line-for-latex-inverse-search) so I'm asking here.I'm using emacs for LaTeX file editing and emacsclient support the nice command line option "+linenum file" to "visit file using find-file, then go to line number linenum in it", which works well.Is it possible to recenter to linenum at the sametime? This is the default behavior for Notepad++ and I've tried the "--eval" option, but it won't switch focus to emacs automatically.Thanks.Best,Xiaolong
--- End Message ---
--- Begin Message ---Subject: Re: bug#29036: 26.0.90; Feature Request: make "emacsclient +linenum file" rencenter line Date: Sun, 29 Sep 2019 02:39:21 +0200 Eli Zaretskii <address@hidden> writes: >> From: Xiaolong Zhang <address@hidden> >> Date: Sun, 29 Oct 2017 18:57:36 +0800 >> Cc: address@hidden >> >> If the file is already visited in Emacs, it won't recenter. Is it possible >> to make >> Emacs recenter even if it's already visited? > > You can only do that by customizing the scrolling behavior in > general. There's no special behavior for visiting a file that is > already in Emacs. It seems like the reporter got the needed answer. I'm therefore closing this bug report. Best regards, Stefan Kangas
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |