From bug-octave-request at bevo dot che dot wisc dot edu Wed Jul 30 00:34:31 2003 Subject: suggestion From: "Jurzitza, Dieter" To: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 30 Jul 2003 07:32:55 +0200 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C3565C.077E6610 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi folks, to anyone who likes to simply send the entire buffer to octave one and the other time ... The keystrokes I used may be inconvenient - it serves me, propably someone out there would like to have it, too. I did that relative to the octave-mod.el that came with 2.1.50, FYI. Take care Dieter Jurzitza --=20 ________________________________________________ HARMAN BECKER AUTOMOTIVE SYSTEMS Dr.-Ing. Dieter Jurzitza Manager Hardware Systems ESI Industriegebiet Ittersbach Becker-G=F6ring Str. 16 D-76307 Karlsbad / Germany Phone: +49 (0)7248 71-1577 Fax: +49 (0)7248 71-1216 eMail: JurzitzaD at Becker dot de Internet: http://www.becker.de =20 ******************************************* Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informati= onen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemli= ch erhalten haben, informieren Sie bitte sofort den Absender und loeschen S= ie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe diese= r Mail ist nicht gestattet. =20 This e-mail may contain confidential and/or privileged information. If you = are not the intended recipient (or have received this e-mail in error) plea= se notify the sender immediately and delete this e-mail. Any unauthorised c= opying, disclosure or distribution of the contents in this e-mail is strict= ly forbidden. ******************************************* ------_=_NextPart_000_01C3565C.077E6610 Content-Type: application/octet-stream; name="octave-mod.el.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="octave-mod.el.diff" --- octave-mod.el.original Wed Mar 8 23:01:16 2000=0A+++ octave-mod.el Wed= Jul 30 06:49:32 2003=0A at @ -217,7 +217,7 @@=0A (define-key map "\M-\C-q= " 'octave-indent-defun) =0A (define-key map "\C-c;" 'octave-comment-re= gion)=0A (define-key map "\C-c:" 'octave-uncomment-region) =0A- (de= fine-key map "\C-c\C-b" 'octave-submit-bug-report)=0A+ (define-key map "= \C-c\C-s" 'octave-submit-bug-report)=0A (define-key map "\C-c\C-p" 'oct= ave-previous-code-line)=0A (define-key map "\C-c\C-n" 'octave-next-code= -line)=0A (define-key map "\C-c\C-a" 'octave-beginning-of-line)=0A at @ -2= 34,6 +234,7 at @=0A (define-key map "\C-cib" 'octave-send-block)=0A (= define-key map "\C-cif" 'octave-send-defun)=0A (define-key map "\C-cir"= 'octave-send-region) =0A+ (define-key map "\C-c\C-b" 'octave-send-buff= er)=0A (define-key map "\C-cis" 'octave-show-process-buffer)=0A (de= fine-key map "\C-cih" 'octave-hide-process-buffer)=0A (define-key map "= \C-cik" 'octave-kill-process)=0A at @ -269,6 +270,8 @@=0A ["Show Proces= s Buffer" octave-show-process-buffer t]=0A ["Hide Process Buffer" oc= tave-hide-process-buffer t]=0A ["Kill Process" octave-kill-process = t])=0A+ "-"=0A+ ["Send Buffer" octave-send-buffer t]=0A = "-"=0A ["Indent Line" indent-according-to-mode t]=0A ["Complete Symbol= " octave-complete-symbol t]=0A at @ -1462,6 +1465,13 @@=0A "\n")))))=0A= (if octave-send-show-buffer=0A (display-buffer inferior-octave-buf= fer)))=0A+=0A+(defun octave-send-buffer ()=0A+ "Sends the entire buffer to= the octave program."=0A+ (interactive)=0A+ (if (equal major-mode 'octave= -mode)=0A+ (octave-send-region (point-min) (point-max))=0A+ (messag= e "You can only send octave-mode buffers to octave.")))=0A =0A (defun octav= e-send-block ()=0A "Send current Octave block to the inferior Octave proc= ess." =0A ------_=_NextPart_000_01C3565C.077E6610-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------