Copyright (C) 2000-2012 |
GNU Info (psgml.info)Change and deleteChanging and deleting markup ============================ `C-c =' Change the name of the current element (`sgml-change-element-name'). Tries to translate attribute specifications. An attribute will be translated to an attribute with the same name. If the new element has no attribute with the same name, the attribute will be ignored. If there is an attribute with the same name but different declared content, a warning is given. ID attributes are handled specially, an attribute with declared value ID will always be translated to the attribute with declared value ID. `C-c C-k' Kill next tag, markup declaration or process instruction (`sgml-kill-markup'). `C-M-k' Kill the element following the cursor (`sgml-kill-element'). `C-c -' Remove tags from current element (`sgml-untag-element'). `C-c #' Convert character after point to a character reference (`sgml-make-character-reference'). If called with a numeric argument, convert a character reference back to a normal character. `C-c C-q' Fills an element as a paragraph (`sgml-fill-element'). This is a substitute for the normal `fill-paragraph'. The command uses heuristics to decide what should be a paragraph. 1. If point is in an element content, recursively fill the sub-elements. 2. Find the biggest element with mixed content containing point. 3. If the above element is mixed but contains elements with pure element content then fill what is between the pure elements as paragraphs and fill the pure elements recursively. `M-x sgml-expand-all-shortrefs' Short references to text entities are expanded to the replacement text of the entity other short references are expanded into general entity references. If argument, TO-ENTITY, is non-`nil', or if called interactive with numeric prefix argument, all short references are replaced by generally entity references. `M-x sgml-normalize' Normalize the document in the buffer. This will 1. expand short references, 2. insert missing tags, 3. replace minimized tags with full tags, 4. fix attribute specification lists according to options set. There is one argument, TO-ENTITY, with the same meaning as for `sgml-expand-all-shortrefs'. There is one option for the normalize command. With its default value, normalize may actually change the data content of some elements. But only by removing some white-space from the end of elements with omitted end-tags. - User Option: sgml-normalize-trims If non-nil, `sgml-normalize' will trim off white space from end of element when adding end-tag. Default: `t'. automatically generated by info2www version 1.2.2.9 |