From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yilkal Argaw Newsgroups: gmane.emacs.devel Subject: set sgml-xml-mode to true in some modes derived from sgml-mode Date: Thu, 4 Aug 2022 13:16:19 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1863"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 04 12:27:10 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oJY4K-0000Gp-IA for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Aug 2022 12:27:08 +0200 Original-Received: from localhost ([::1]:60698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJY4J-0002xN-B8 for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Aug 2022 06:27:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJXu6-0002Ix-Uf for emacs-devel@gnu.org; Thu, 04 Aug 2022 06:16:34 -0400 Original-Received: from mail-yb1-xb33.google.com ([2607:f8b0:4864:20::b33]:37820) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJXu5-0004iN-89 for emacs-devel@gnu.org; Thu, 04 Aug 2022 06:16:34 -0400 Original-Received: by mail-yb1-xb33.google.com with SMTP id 21so9653254ybf.4 for ; Thu, 04 Aug 2022 03:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=NpIFb7Q7y27tUt3a26owra0opE9Dfd6IuN6R3rs2Cs8=; b=BG0kT5KQC2sl8nrREOGviQd5+1zPHgm7VrwXHeggaLv35qemUDKnUR8yGMC19qwjZH yxZg5lR+/VA6oj8unfGbQSzxH6P+zOa/t0FQNO0AGNjlNlXgtnoZo9+FBGind/VhctGX J+a1FLAwxxEJx4f72leynp0ZR+PC++YfaQu3qZ0NBNyGK2O/F6EuT7HqBGfRgcJlMqUp 9rGydr8OQd5K8cxaPrif4KdEPwdZlqa6YlsT+lQ4o8VMfCHgMTic/zVLTxhRZmeOKdIx fE7IwJZs672lTEDsw9vG6a+RNW5IIrZW/dhvUkHv6eP2an4ZYKc6L5zX7HGBKLSUeOi+ vsqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NpIFb7Q7y27tUt3a26owra0opE9Dfd6IuN6R3rs2Cs8=; b=2RHM9+u0w29G4GWVzNQquwuA5wzdOvXSS4q5iD8ucTByGCcyYqMxa/573P/g9AJXrv hmYFLthRmjgt0azD76EVV3if+YerTJk5IFXunky0F4sOXd/MUXWucczIYKEaTNW20I5N IEq6kfI9dJFAUnFUykDZuMkv4hE6ud0CwhQt8o4Oqy9+hVnvhLHTsmyCV2CyS0Z7hVwL MTVYjNTrUxg/9ZPy0uP8HlwfIIhoo6Nll2t6LbuinSFmUZgaXz9zpGfo3JNUhpKNEm1d xtF9PQxgD0dyEnTcN+bVWQzft3C9pVwcMRMX4pTIeSXDDJnXFHW6u24wvZMbpFsCoavd ob+g== X-Gm-Message-State: ACgBeo3ixjdn6DQ84bRxQmdZHo2LtauKE+lgS9YJG6W3UH8K1Fpm2Kb+ S22GMXuyo8IXiBho1OFk1OcyWmD8+0BGtiFQ61UsqY/GeBM= X-Google-Smtp-Source: AA6agR41uqqk4tAaznqaoabh+rgpxUpbPIWlQGnKTVBz0qrKGgbR9qAElosN0dK+t/N3fuopvsN+SQXMSjsi6/FLTrg= X-Received: by 2002:a05:6902:701:b0:678:9bcc:e8c6 with SMTP id k1-20020a056902070100b006789bcce8c6mr859394ybt.120.1659608191069; Thu, 04 Aug 2022 03:16:31 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::b33; envelope-from=yilkalargawworkneh@gmail.com; helo=mail-yb1-xb33.google.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293050 Archived-At: Hi All While trying to use emacs to edit html files I noticed how the sgml-tag functions which uses skeletons to insert tags does not insert a closing tag for some tags like "
  • " this behaviour changes by changing the variable "sgml-xml-mode" to a non nil value. Would it not be better to turn this variable to true some of the derived modes like html-mode and xml-mode. This can be done by setting the variable in the autoload section for the derived modes. This makes the default behaviour of those modes more usable without using hooks. For now I am using hooks set the variable true for html, mhtml and xml modes but I think that it should be set by default for it to be more user friendly. With Regards Yilkal