From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Skip Montanaro Newsgroups: gmane.emacs.help Subject: nXML mode word separators Date: Thu, 7 Feb 2019 08:58:54 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="150681"; mail-complaints-to="usenet@blaine.gmane.org" To: Help GNU Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 07 16:02:59 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grlCd-000cwF-Js for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Feb 2019 16:02:59 +0100 Original-Received: from localhost ([127.0.0.1]:41631 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grlCc-0006Mq-I3 for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Feb 2019 10:02:58 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grl9T-0004Un-4Z for help-gnu-emacs@gnu.org; Thu, 07 Feb 2019 09:59:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grl9R-0003Ht-3w for help-gnu-emacs@gnu.org; Thu, 07 Feb 2019 09:59:43 -0500 Original-Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:46493) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grl9D-0002lD-PX for help-gnu-emacs@gnu.org; Thu, 07 Feb 2019 09:59:31 -0500 Original-Received: by mail-pf1-x42d.google.com with SMTP id c73so24723pfe.13 for ; Thu, 07 Feb 2019 06:59:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=W3oIuqUK/5xtKooxOezEZ8HArKcWjjQjRvH9aTe6Xek=; b=kXDqf0usMQaWzYJqRs5d05+E27coWAkJxoqQ1PC3UMSEVNblvJk9ICqbTd0lfp2Lw7 mmrVReJomfPGKwpOzGtporGiswKboCmK3beDMeg7JIA1oy7Lpy6FubKn+xDNDSey9/eF d+I2k+dgeRGhhxnZETrpmuXNnPtG+5ikRF/teUxmqSb99rWE0yuCAMUW5cFG+5RtWw+/ t3kDxB1m6qEDDxdQT2Da8DNKUMq0u39rEbMk13NSB5m7qhsqjqJMuOBA+V0WJMjku2We 5xFuc6tJ7GZWr0nlNDBcHdko+QlwxlecNgDAlNDK0U8kPZgKIr+G6ABQx6ouU29FiAvi 9QLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=W3oIuqUK/5xtKooxOezEZ8HArKcWjjQjRvH9aTe6Xek=; b=k/mDtH53rcyvTmekYvCMNBSVnM9Eqi1tmWEY0z/d7uRnP+l7N3Qba4J2EvL73Az8CE akFtTgcVd/qK3QwDOwkO55EFUCLGT+7IEQ8NjKp/DIZ/BY5OG1m7h0Na4Ql1f0t9Dv6b 8iIXbYw4AZ1lt8bT456cFXWiuiAmClhqQXQj7WWUAJfJgU39nJBDzXzRWaeqYjfsMRCj jKfaXxYig0uW6EvytqRUgpopcmh1q4JTi9PCni6hHzfsy+hClXfLUq/6eFp0fBjUFV9z LMhHS9QqpjBZxB7V6E9Cc06ANrJ7WbWzZ97CJ7REpmjATWIPrATMyhSzOj8Ep2njpYHt U3ww== X-Gm-Message-State: AHQUAuZM+bHF0Rd+Ceo0I/dhuY8o8r/3XP01KqbqZSagnpW0pWz84GiC b7G5KQfBIPuU0nXuODP6ki1A49fnZfwchN0Izs7YcuKmN3bm0uE= X-Google-Smtp-Source: AHgI3IZtofPSxdGlnyazfhdXilm2RuAIfAqE6lytDA/HsE6Ki/trvWyU8DhcgpJQv3cX5CiRlWWaWX4Kg3qMqxaf6V8= X-Received: by 2002:a63:cd14:: with SMTP id i20mr15183180pgg.288.1549551560225; Thu, 07 Feb 2019 06:59:20 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119241 Archived-At: I unfortunately have to work with handwritten XML which is used to define complex application configs. In that context, apostrophes are valid string delimiters, at least in whatever XML pseudo-dialect these files are written in. So, both of these snippets mean the same thing: I'm not in any sort of position to dictate any changes, so I need to adapt. So, forward-word currently skips over apostrophes (considering them word characters) and kill-word (even worse) deletes them. It has probably been a decade since I fiddled with syntax tables. How do I move apostrophes from word class to quotation(?) class in the relevant syntax table? FWIW, when editing XML files I seem to be in nxml-mode (nothing I enabled specifically, must just be the default mode). Thanks, Skip Montanaro