From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Newsgroups: gmane.emacs.help Subject: Re: How can i enable webmode? Date: Sun, 10 May 2020 18:13:35 +0200 Message-ID: <86d07b6a4w.fsf@duenenhof-wilhelm.de> References: <008d9cd4-8d24-f19b-82ad-d5c1bf7a435f@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="66303"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: aprekates , help-gnu-emacs@gnu.org To: Alexis Roda Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 10 18:14:02 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 1jXoaX-000H7Y-8f for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 18:14:01 +0200 Original-Received: from localhost ([::1]:35578 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXoaV-0007Xk-R1 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 12:13:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXoaE-0007VS-A9 for help-gnu-emacs@gnu.org; Sun, 10 May 2020 12:13:42 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.73]:37183) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jXoaD-00010Z-4j for help-gnu-emacs@gnu.org; Sun, 10 May 2020 12:13:41 -0400 Original-Received: from ping ([92.116.149.52]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MA844-1jNKBe3TFi-00Bf2r; Sun, 10 May 2020 18:13:36 +0200 In-Reply-To: (Alexis Roda's message of "Sun, 10 May 2020 17:43:25 +0200") X-Provags-ID: V03:K1:NSmyVRN47OFOQ+AvHya2kHnVSRi1cPzzgcCgVJJRLGD47wHo8Z5 HUITaECLTIKRYIBpJzan2Ki1ZnbzpR3r4nEo5k3kKAGYX7pbrMQaaJ4ESNuATOGf20BLa/h IXrZFAxVnvVms5WF7O93O9r/+oStCHQRvj0ftpzn7ESSKjLL0tgyFcZyzdUlamIs4FFnX2K Sm1EmLlLyNrVuBy0kc6+w== X-UI-Out-Filterresults: notjunk:1;V03:K0:6mWHhQLxwWo=:TQiBA78HZ/Cjaf03RE/Oqh vK7/0LL6m40MUwzFqegTdb3KwTbj3FefKx4DdtsNsqyWzE1rW7dFIkfKuu4guQe2bW0T6PNg7 /AHcaQjSPDXhxasrCeuJ5IJ5WUG8+i44JnxElOqvUbmtlXDAS9Svg9RCckAPsIHK3sal0Zbyv pni4u4eqITLBrqFbo7Q5mZwxxtc8EOqEtJjch1eYKqicmRvIuVMdsuJZcCx+ZtYUJSJO4ZLgi z6s8GGBqAA5bA7cOLriKByVKTumgN2VAyOKXFDjsSL7g6syjMvP9GvJKS8wktN3GJKWPVaR7U 0Kcl1TDF4TjMnx8euxueekZ3cPWswmm/tjjlA3Bqv8vj0HZfReIPQkEw1Aiugxm7w2atjf6qo xHK3YI3xP0AUpfO5PLTAvOY8NIzbQoWKdPPmGRUoNwdeLOvkgxos9T4FJPjum9dSZzg39kfvW KcrVCToJkwmSah2aNPAlHVCjSfMxHG2aO15z11GqjSK/+lu4/K7S+4zs/9BdBRLjJvw8LLUg4 PjLnI2jpBU7+bkqbgICO2CVZlOcccT9bwiucpvzuE/8aAv7JrlgumSBM/YrAGPOM2rmWT3ctE ugRK2xdpUJ37+MKYCHZ1Iuh2uRrDHz0VWff0V9Kf28KYMtX2qna2nGS9e83gs5w/pzhz9f1Fk BMPSiD6iYuw8hNQrLEHSng/XYZKlR1LRQtpfz69sAHFWoVCiWfxveIwExv2Cqw4B4dtzuu/1H QGERauch/2LOsQpZqEaH3eVgpaUU1VJlnqlfORHWSy1qsjuwKXrMLjDJAqrxsnTxUVPh2Uhd Received-SPF: none client-ip=217.72.192.73; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/10 12:13:38 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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:123059 Archived-At: Alexis Roda writes: > No, the package manager doesn't mess with your configuration. > > A package is just a bunch of files sitting on you disk "passively". In > order for a package to become "active" you must "enable" it from your > configuration. This can be done in many ways depending on the use case: > > - adding a major mode to auto-mode-alist > - calling a function from a hook > - requiring the package > - by using a function that has an autoload > - ... That is what I've experienced from the package manager so far. :-) But my feeling is that for small packages which do not require a lot of customisation and are unobtrusive it makes sense to trigger their functionality without additional user action. For example the Melpa package `inform' is activating itsel during installation (and maybe by restarting Emacs in some situations). The motivation is: If you are interested you'll have it without much ado and if you don't like it any more just uninstall the small package. Does it make sense or do you regard this behaviour as impolite? Dieter > > HTH > > > Missatge de aprekates del dia dg., 10 de maig 2020= a > les 16:40: > >> Thanks , i had the impression that package manager would handle that. >> >> >> >> On 10/5/20 1:31 =CE=BC.=CE=BC., Alexis Roda wrote: >> >> Hi Alexandros, >> >> Can't find webmode in my packages list. Assuming you meant web-mode. >> >> According to web-mode's web page (http://web-mode.org), add in your >> .emacs: >> >> (add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode)) >> >> The change will take effect the next time you open emacs. >> >> >> HTH >> >> Missatge de aprekates del dia dg., 10 de maig 2020 >> a les 12:02: >> >>> GNU Emacs 26.1 (build 2, x86_64-pc-linux-gn >>> >>> I installed with M-x package-list webmode but >>> >>> html files still open in html+ mode. >>> >>> Alexandros >>> >>> >>> > --=20 Best wishes H. Dieter Wilhelm Zwingenberg, Germany