From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: fatiparty--- via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: File for minor mode not found Date: Mon, 10 Jan 2022 13:19:55 +0100 (CET) Message-ID: References: <878rvpeyek.fsf@gmx.net-MszOZsb----2> <874k6cgap3.fsf@gmx.net-MszaWDg----2> Reply-To: fatiparty@tutanota.com 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="40581"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Tomas Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 10 13:22:15 2022 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 1n6tgl-000ANm-I5 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Jan 2022 13:22:15 +0100 Original-Received: from localhost ([::1]:59792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n6tgk-0001UB-AC for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Jan 2022 07:22:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6tec-00015z-1H for help-gnu-emacs@gnu.org; Mon, 10 Jan 2022 07:20:02 -0500 Original-Received: from w1.tutanota.de ([81.3.6.162]:54090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n6teZ-0006my-Au for help-gnu-emacs@gnu.org; Mon, 10 Jan 2022 07:20:01 -0500 Original-Received: from w3.tutanota.de (unknown [192.168.1.164]) by w1.tutanota.de (Postfix) with ESMTP id D0D62FBF501; Mon, 10 Jan 2022 12:19:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1641817195; s=s1; d=tutanota.com; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=Gcov5s7Q5aaMzO3tXeJ/cZ45883SGl0GP4NHCYUgFQ0=; b=NzmFIbTybCTMlGsIHf2ucfrLOp08O5X5kk5X2xbtWW23m1WY7gUp4vCs0y2ujTLA I3Ua66CdPFZt1fLOl6XQshnYsrb5oXqE+Do0TYYdqOEFN0XIkhFm1wjjGM2Wh1ihwjD R/dA4PlpJ0YX+3njVhB8cplrY+0lytmm6qLkQwNCDRtZCWP0fxdY1QtbRhNUqZE5Pmo JmZ2DI7pRI+tYHhiI2Qtc3hlru8B83EvwWvJ8tIHO52VG10Xyk3W/ioq0965B29p1J7 GUyzg5RtudJ3mXNBHQdtYWh+Rxz2Flg/pHM4WIADzhEAuUq7RqQnMooucgFFQkh6cHp /SC8QvVqcQ== In-Reply-To: Received-SPF: pass client-ip=81.3.6.162; envelope-from=fatiparty@tutanota.com; helo=w1.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:135175 Archived-At: Jan 9, 2022, 22:10 by tomas@tuxteam.de: > On Sun, Jan 09, 2022 at 10:49:58PM +0100, fatiparty@tutanota.com wrote: > >> >> Jan 9, 2022, 16:50 by tomas@tuxteam.de: >> > > [...] > >> >> test.el >> >> *******=20 >> >> =C2=A0 (add-to-list >> >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 'load-path "~/Admin/bin/gadi-1.0/typex= /ziggurat-protowrit/daph-ideograms") >> >> =C2=A0=C2=A0 ;; Load the Daph Package if it has not already been load= ed. >> >> =C2=A0=C2=A0 (require 'daph "daph-ideograms") >> >> >> >> -------- >> >> >> >> My load path is quite long, and wonder how this can be shortened by s= toring in some other variable >> >> before passing to 'add-to-list'. >> >> >> > >> > I don't quite understand your last sentence. What is it you are trying >> > to shorten -- and how? >> > >> I want to keep within 72 characters on the line.=C2=A0 I could store the= first part=C2=A0=20 >> '~/Admin/bin/gadi-1.0/typex/ziggurat-protowrit/' in some variable, and = find some >> way to add the complete path for 'add-to-list'. >> > > Ah -- it's about the (string) length of that path element, not about the > (list) length of the whole load-path. > > Well, typically some prefix of the path element has a significance. Say, > for example "~/Admin/bin/gadi-1.0" be gadi-files or so. That's the way I > usually do it. > > Bonus points: you only get to change one when that changes :-) > That is correct.=C2=A0 Would one use setq or something buffer local.=C2=A0 = How would.=C2=A0=20 for instance, gadi-files be constructed? > Cheers > --=20 > t >