|
From: Dima K. <gn...@di...> - 2014-03-05 21:18:05
|
Elias Assmann <eli...@gm...> writes: > Hi, > > In gnuplot-mode, ‘gnuplot-send-line-to-gnuplot’ (C-c C-l) helpfully > searches forward to the end of a continued line. However, I thought it > would be even more helpful to also search backward to the beginning of > the logical line. > > So below, you will find a version of the function that does that. > > HTH, > > Elias > > > PS: My knowledge of Emacs Lisp is very incomplete … > > PPS: gnuplot-mode redefines C-m to newline-and-indent. This makes it > awkward to get a newline without any indention. In my experience, most > Emacs modes use C-j for “smart newline” (whatever that may mean in the > mode's context) but leave C-m to mean plain newline. Hi Elias. The gnuplot emacs interface in the gnuplot distribution is out of date. A very updated mode is here: https://github.com/bruceravel/gnuplot-mode You should patch that tree (if it doesn't have your fixes already). Ethan and co: this came up last year, but we didn't do anything about it. Can we either remove the gnuplot emacs mode from the CVS tree (since it's maintained in github already), or make it obvious that the gnuplot.el hosted HERE is a mirror rather than the upstream? dima |