+ Paper_column * pc = item->get_column ();
+
+
+ for (SCM s = me->get_property ("conditional-elements"); ly_c_pair_p (s); s = ly_cdr (s))
+ {
+ SCM elt = ly_car (s);
+ if (!unsmob_grob (elt))
+ continue;
+
+ Item *il = unsmob_item (elt);
+ if (pc != il->get_column ())
+ {
+ /* this shouldn't happen, but let's continue anyway. */
+ programming_error (_ ("Separation_item: I've been drinking too much"));
+ continue; /*UGH UGH*/
+ }
+
+ if (to_boolean (il->get_property ("no-spacing-rods")))
+ {
+ continue;
+ }
+
+ if (Accidental_placement::has_interface (il))
+ {
+ w.unite (Accidental_placement::get_relevant_accidental_extent (il, pc, left));
+ }
+ }
+
+ SCM pad = me->get_property ("padding");
+
+ w.widen (robust_scm2double (pad, 0.0));
+ return w;
+}
+
+Interval
+Separation_item::width (Grob *me)
+{
+ SCM sw = me->get_property ("X-extent");
+ if (is_number_pair (sw))
+ {
+ return ly_scm2interval (sw);
+ }
+
+ Item *item = dynamic_cast<Item*> (me);
+ Paper_column * pc = item->get_column ();