From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jakub Jankiewicz Newsgroups: gmane.emacs.help Subject: Re: How can i enable webmode? Date: Sun, 10 May 2020 13:05:22 +0200 Message-ID: <20200510130522.486e3497@jcubic> References: 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="1670"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: aprekates Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 10 13:11:44 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 1jXjs0-0000Ka-15 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 13:11:44 +0200 Original-Received: from localhost ([::1]:57572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXjrz-0007Sy-32 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 10 May 2020 07:11:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXjrL-0007QQ-6X for help-gnu-emacs@gnu.org; Sun, 10 May 2020 07:11:03 -0400 Original-Received: from smtpo90.poczta.onet.pl ([213.180.149.143]:44794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXjrI-0002Go-6Q for help-gnu-emacs@gnu.org; Sun, 10 May 2020 07:11:02 -0400 Original-Received: from jcubic (unknown [185.129.113.219]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jcubic@onet.pl) by smtp.poczta.onet.pl (Onet) with ESMTPSA id 49Kh781pHrz1XQ9NQ; Sun, 10 May 2020 13:05:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onet.pl; s=2011; t=1589108725; bh=JnMpQfY0RSRZRWa00wdqVYbXKCXoRoGs49OKtnOtzHE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=alcczGFm6oZ8hmiShM4K1yHsa9GwrMlc3ujhLDNHFvHukN3qjmBvzbCKZZdyKaVAc dKZHXu4abvqREixYCwUsWty34q/U++CkgIDt5SgDRrIGqBieVOCilsaLfNfbXgjfMs kgNdOwO30PgwYap85p1Q8TtDvwxJ5qi6XmoXYt18= In-Reply-To: X-Mailer: Claws Mail 3.17.3git196 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-ONET_PL-MDA-SEGREGATION: 0 Received-SPF: pass client-ip=213.180.149.143; envelope-from=jcubic@onet.pl; helo=smtpo90.poczta.onet.pl X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/10 07:05:32 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-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:123055 Archived-At: On Sun, 10 May 2020 13:02:14 +0300 aprekates wrote: > GNU Emacs 26.1 (build 2, x86_64-pc-linux-gn >=20 > I installed with M-x package-list=C2=A0 webmode but >=20 > html files still open in html+ mode. You need to actually tell emacs to use web-mode for html files. I have this in my emacs file: (require 'web-mode) (add-to-list 'auto-mode-alist ("\\.\\(php\\|php\\.in\\|xml\\|twig\\|rss\\|xsl\\|svg\\|glade\\|rng\\|kml\\= |html\\|xhtml\\)\\'" . web-mode)) -- Jakub Jankiewicz, Web Developer https://jcubic.pl/me