From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Adding String to Beginning of Lines Date: Tue, 10 Nov 2020 19:56:02 +0100 Message-ID: References: <20201110111024.GA15992@tuxteam.de> <87zh3pctr1.fsf@web.de> <87o8k5csqj.fsf@web.de> <874klxcn6k.fsf@web.de> <87imadb725.fsf@web.de> <87k0utay2i.fsf@web.de> <87361hhwtd.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20814"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 10 19:58:06 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcYqD-0005JO-Rx for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 19:58:05 +0100 Original-Received: from localhost ([::1]:54320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcYqC-0001Ut-OI for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 10 Nov 2020 13:58:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcYoL-0001SD-AF for help-gnu-emacs@gnu.org; Tue, 10 Nov 2020 13:56:09 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:42647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcYoG-0002Vr-C6 for help-gnu-emacs@gnu.org; Tue, 10 Nov 2020 13:56:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1605034562; bh=WOL5rJQ75C3xxEEmkFrL+/r8rh5FLTu9XXEIWYOV1Qg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=UcWeEqw2oGt9lwyT78Na17FTT4VTjN2+dzaOMAiGs6VUEOQ6fgcHuPkcx0xXu42gu CkiDUZoMCGmguYwobsoH7JR6ArDbEekg21V4qRJ/WRD9MZkNk6XIvqcwZ5NkPFtIsX LZ2Y7jhAP6+u2QhVG/W6aNntCLvLBrH4qgP4WP88= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs15.server.lan [172.19.170.183]) (via HTTP); Tue, 10 Nov 2020 19:56:02 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87361hhwtd.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:mEnJtti9Fd/MrcwRzH41YxsJ3g4mRe3YOasI9BydKzYu8gQwhnYZfcTHrH8fPNd4KH0KG 4J3z25k++0+frl6Y+52D0zg1BGqrdL/KFIvNPY675+rvJkBlTY+yQ3VZBi/oU+SS6Pl3XSWaFz98 7T/+6UGQgzLDbHsSuc4bQ1n0omMsakZctBnrzy+dWGrr9RSFEx1iDc+fvJ72jBxzT88c9x6ZW05H 8mYWjQbdtFMFunbqOTYVIdZ1QKolWx124PvnghxpFfAk2LgHhpRUsL+sKBzDCV2mCqV+6Nz8Y9Fa X8= X-UI-Out-Filterresults: notjunk:1;V03:K0:96jDQgnxm74=:hwMPD9Hp6i9y9gjDlxfgfW Wa1Usmvn+rzh+VWVI9VJJeGwJvNEGZMsvOuUxzfWU3VrFY1jJWg0Fl2WSCvDCFuV1CfQ5u4U8 vwaSuxzAzKu+fm0eINCBp5KhAj6YkUHYAoewI4YexUcHrIK93bcBVwSUsFhmqb7pGxW/tIf1A LVVfsgBR2qiIkgvmO8n90p0MTeYbzD2omKlp5VwFJDpZS8ZuspaDzUb20YkTJlxH7LJSDbKQ5 tBNljVQqV4IRM0hBpww5tv8AK2ekkBb/Oe14WTWhNwEMn/YuasyGPIVQOMiswRj84HbjFTBNi NzpwwJjY7uJXtbuaav1T8+4laVb9knLVBx5wl5O9jUmJugN/nAodf50UMq0vVpZB75sV/wErJ LFiZsXwAjbfeC7mk3GUOS2993P31TNkCLBICW6FD1Sd35RhMi2Nln6/4Q5E5Ru4Jb55UDmrN9 mlkEwKoK3J1jkJyAlVSgUbqAWFDfHbulR2FAR6c4TeOU6oZtYXplEz1QMG4P/8ejtcatnpmbI cFA/aBH+c4xLtti9vEZ4be+Xn9pPyW9B8MDtNMdRSYw7YwcsNOqDBRKIemG8Q0//uUssXY3ne ntRb0Urqap3UE= Received-SPF: pass client-ip=212.227.15.15; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/10 13:56:02 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125202 Archived-At: Still getting the keyseq as undefined. > Sent: Tuesday, November 10, 2020 at 7:49 PM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: Adding String to Beginning of Lines > > Christopher Dimech writes: > > > The update is still giving me trouble though. Could be a problem with = passing the arguments > > to rec-field-nwltok > > > > I have the following > > > > (defun rec-field-nwltok (beg end nwltok) > > (interactive > > (list (region-beginning) > > (region-end) > > (read-string "rec-field-nwltok: " nil nil ";; + "))) > > (replace-regexp "^" nwltok nil beg end) ) > > > > (add-hook 'emacs-lisp-mode-hook > > (defun myrec-field-nwltok () > > (define-key emacs-lisp-mode-map (kbd "H-z") #'rec-field-nwltok))= ) > > That works well for me. Of what kind is that trouble? > > Michael. > > >